Balz.io Macro feed

Balz.io Macro feed [Q]

当前为 2019-06-12 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Balz.io Macro feed
  3. // @namespace Balz.io Macro Q
  4. // @version 5.1
  5. // @description Balz.io Macro feed [Q]
  6. // @author ShyNivek.
  7. // @match https://balz.io/
  8. // @copyright Copyright © 2019 by ShyNivek. All Rights Reserved.
  9. // @icon https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/i/b179b54a-c6c2-4d81-8417-1bb908ea5ec1/d8w9ymz-34aed4c7-1fba-45af-853d-655c78f830c1.png
  10. // ==/UserScript==
  11.  
  12. window.alert("Thanks for installing this script. Subscribe to my channel!")
  13. window.open('https://www.youtube.com/channel/UC4_SkjR9sENgL61fhqFKWFA?sub_confirmation=1', '_blank', 'location=yes,scrollbars=yes,status=yes,height=570,width=520');
  14. console.log('%c ᴄᴏᴘʏʀɪɢʜᴛ © 2019 ʙʏ ꜱʜʏɴɪᴠᴇᴋ. ᴀʟʟ ʀɪɢʜᴛꜱ ʀᴇꜱᴇʀᴠᴇᴅ. ', 'background: #222; color: #bada55');
  15. 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)});
  16.  
  17. //ᴄᴏᴘʏʀɪɢʜᴛ © 2019 ʙʏ ꜱʜʏɴɪᴠᴇᴋ. ᴀʟʟ ʀɪɢʜᴛꜱ ʀᴇꜱᴇʀᴠᴇᴅ.