Anarchy Haxball Userscript v0.5

Makes haxball fancier :)

  1. // ==UserScript==
  2. // @name Anarchy Haxball Userscript v0.5
  3. // @version 0.6
  4. // @description Makes haxball fancier :)
  5. // @author Luks
  6. // @match https://www.haxball.com/*
  7. // @match https://html5.haxball.com/*
  8. // @resource IMPORTED_CSS http://haxballplanet.com/game.css
  9. // @grant GM_getResourceText
  10. // @grant GM_addStyle
  11. // @namespace https://gf.qytechs.cn/users/396618
  12. // ==/UserScript==
  13.  
  14. window.addEventListener('load', function() {
  15. document.querySelectorAll("[class='rightbar']")[0].remove()
  16. }, false);
  17. document.querySelectorAll("[href='game.css']")[0].remove();
  18.  
  19.  
  20. var cssTxt = GM_getResourceText ("IMPORTED_CSS");
  21. console.log(cssTxt);
  22. GM_addStyle (cssTxt);
  23. localStorage.geo = '{"lat":49.8,"lon":6.1296,"code":"EU"}';
  24. localStorage.geo_override = '{"lat":49.8,"lon":6.1296,"code":"EU"}';

QingJ © 2025

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