Balz.io Macro feed

Balz.io Macro feed [Q]

  1. // ==UserScript==
  2. // @name Balz.io Macro feed
  3. // @namespace Balz.io Macro Q
  4. // @version 6.0
  5. // @description Balz.io Macro feed [Q]
  6. // @author ShyNivek.
  7. // @include https://balz.io/
  8. // @match http://balz.io/
  9. // @connect balz.io
  10. // @copyright Copyright © 2019 by ShyNivek. All Rights Reserved.
  11. // @icon https://cdn.discordapp.com/attachments/596902693788712963/600512745879633928/mod_menu.png
  12. // ==/UserScript==
  13.  
  14. document.title = "Macro Feed by ShyNivek";
  15. window.alert("Thanks for installing this script. Subscribe to my channel!")
  16. window.open('https://www.youtube.com/channel/UC4_SkjR9sENgL61fhqFKWFA?sub_confirmation=1', '_blank', 'location=yes,scrollbars=yes,status=yes,height=570,width=520');
  17. console.log('%c ᴄᴏᴘʏʀɪɢʜᴛ © 2019 ʙʏ ꜱʜʏɴɪᴠᴇᴋ. ᴀʟʟ ʀɪɢʜᴛꜱ ʀᴇꜱᴇʀᴠᴇᴅ. ', 'background: #222; color: #bada55');
  18. var macro;console.log("called");var hacking=!1;$(document).on("keydown",function(e){if(console.log('keydown e.keyCode="'+e.keyCode+'"'),81==e.keyCode){if(console.log("keydown 81, hacking "+hacking),hacking)return;hacking=!0,macro=setInterval(function(){console.log("firing"),$("body").trigger($.Event("keydown",{keyCode:87})),$("body").trigger($.Event("keyup",{keyCode:87}))},3)}}),$(document).on("keyup",function(e){if(console.log('keyup e.keyCode="'+e.keyCode+'"'),81==e.keyCode)return console.log("stop firing"),hacking=!1,void clearInterval(macro)});