Mhero's Script

Take over Agarpowers easily with this script!

目前为 2022-04-19 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Mhero's Script
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.3
  5. // @description Take over Agarpowers easily with this script!
  6. // @author You
  7. // @match http://138.201.180.92:90/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=180.92
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. /*if (document.getElementById('overlays').style.display != 'none' || document.getElementById('advert').style.display != 'none') {
  15. return;
  16. }*/
  17. if (document.activeElement.type == 'text' || document.activeElement.type == 'password') {
  18. return;
  19. }
  20. setInterval(function(){
  21. $("#canvas").trigger($.Event("keydown", { keyCode: 72}));
  22. $("#canvas").trigger($.Event("keyup", { keyCode: 72}));
  23. }, 1600)
  24.  
  25.  
  26. var startGoldNick = setInterval(function(){
  27. document.getElementById('setGoldNickname').dispatchEvent(new MouseEvent("click"));
  28. }, 100)
  29. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址