RBLU

RocketBall Limit Unlocker

  1. // ==UserScript==
  2. // @name RBLU
  3. // @author 0vC4
  4. // @version 1.1
  5. // @description RocketBall Limit Unlocker
  6. // @namespace https://gf.qytechs.cn/users/670183-exnonull
  7. // @match http://www.pucks.io/*
  8. // @match https://www.pucks.io/*
  9. // @match http://www.bumpyball.io/*
  10. // @match https://www.bumpyball.io/*
  11. // @icon https://www.google.com/s2/favicons?domain=bumpyball.io
  12. // @run-at document-start
  13. // @grant none
  14. // @license MIT
  15. // ==/UserScript==
  16.  
  17. (() => {
  18. const proto = XMLHttpRequest.prototype;
  19.  
  20. if (!proto._open) proto._open = proto.open;
  21. proto.open = function () {
  22. const [method, url] = arguments;
  23. Object.assign(this, {method, url});
  24. return this._open.apply(this, arguments);
  25. };
  26.  
  27. if (!proto._send) proto._send = proto.send;
  28. proto.send = function (body) {
  29. if (this.url.match(/Listing\?Game=BumpyBall/)) {
  30. this._lnd = this.onload;
  31. this.onload = function (e) {
  32. const table = JSON.parse(new TextDecoder().decode(this.response));
  33. table.forEach(server => {
  34. server.MaxPlayers = 999;
  35. });
  36.  
  37. Object.defineProperty(this, 'response', {
  38. enumerable: true,
  39. configurable: true,
  40. writable: true,
  41. value: new TextEncoder().encode(JSON.stringify(table)).buffer
  42. });
  43. this._lnd(e);
  44. };
  45. }
  46. if (this.url.match(/\/Ping/)) {
  47. this._lnd = this.onload;
  48. this.onload = function (e) {
  49. const server = JSON.parse(new TextDecoder().decode(this.response));
  50. server.MaxPlayers = 999;
  51.  
  52. Object.defineProperty(this, 'response', {
  53. enumerable: true,
  54. configurable: true,
  55. writable: true,
  56. value: new TextEncoder().encode(JSON.stringify(server)).buffer
  57. });
  58. this._lnd(e);
  59. };
  60. }
  61. return this._send.apply(this, arguments)
  62. };
  63. })();
  64. // 0vC4#7152

QingJ © 2025

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