SHARE
TWEET

even more balls

a guest Jul 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Votefuck
  3. // @namespace    http://computernewb.com/
  4. // @version      0.1
  5. // @description  EPIC VOTEFUCKER!!!!!!!
  6. // @author       You
  7. // @match        http://computernewb.com/collab-vm/*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. function CreateCustomVMButton(id, user, ClickCallback){
  12.     var div_node = document.querySelector("#osk-btn").parentNode;
  13.     var button = document.createElement("button");
  14.     button.id = id;
  15.     button.className = "btn btn-default";
  16.     button.innerHTML = user;
  17.     button.onclick = ClickCallback;
  18.     button.type = "button";
  19.      button.style = "margin-right: 4px;"
  20.     div_node.appendChild(button);
  21. }
  22.  
  23. /* CreateCustomVMButton("vf1", "Votefuck", ()=>{
  24.     t=tunnel.sendMessage;while(1){t('vote',1);t('vote',0)}
  25. });*/
  26.  
  27. CreateCustomVMButton("dfuname2", "DFUKB", ()=>{
  28.     tunnel.sendMessage("rename","DFUKB2019");
  29. });
  30.  
  31. CreateCustomVMButton("dfuname1", "DFU", ()=>{
  32.     tunnel.sendMessage("rename","DFU");
  33. });
  34.  
  35. CreateCustomVMButton("kit1", "Enable KIT", ()=>{
  36.     tunnel.sendMessage("chat","+kit on");
  37. });
  38.  
  39. CreateCustomVMButton("kit2", "Disable KIT", ()=>{
  40.     tunnel.sendMessage("chat","+kit off");
  41. });
  42.  
  43. CreateCustomVMButton("lm", "LastMeasure", ()=>{
  44.     tunnel.sendMessage("chat","+lastmeasure");
  45. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top