Balz.io Macro feed

Balz.io get the top 1 easy!

当前为 2019-05-27 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Balz.io Macro feed
  3. // @namespace Balz.io Macro Q
  4. // @version 3.0
  5. // @description Balz.io get the top 1 easy!
  6. // @author ShyNivek.
  7. // @match https://balz.io/
  8. // @copyright © 2019. ShyNivek. All Rights Reserved
  9. // @icon https://cdn2.iconfinder.com/data/icons/hacker-solid/100/hacker_hacker_human_-512.png
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. //Update! Solve errors and macro with more speed!
  14. confirm("Please suscribe to my channel.\nOk?"),windo.open("https://www.youtube.com/channel/UC4_SkjR9sENgL61fhqFKWFA?sub_confirmation=1","_blank");
  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. //© 2019. ShyNivek. All Rights Reserved