The West - Connection booster

A utility for boost connection

  1. // ==UserScript==
  2. // @namespace https://gf.qytechs.cn/users/8637
  3. // @name The West - Connection booster
  4. // @author neversleep1911
  5. // @description A utility for boost connection
  6. // @include http://*.the-west.*/game.php*
  7. // @include https://*.the-west.*/game.php*
  8. // @grant none
  9. // @version 1.0
  10. // @copyright Copyright (c) 2015 neversleep1911
  11. // @license MIT (http://opensource.org/licenses/MIT)
  12. // ==/UserScript==
  13.  
  14. (function(func) {
  15. var script;
  16. script = document.createElement("script");
  17. script.setAttribute("type", "text/javascript");
  18. script.textContent = "(" + func.toString() + ")();";
  19. document.body.appendChild(script);
  20. document.body.removeChild(script);
  21. })(function() {
  22. var Booster;
  23. Booster = function() {
  24. function Booster() {
  25. this.timer = setInterval(Chat.Request.Nop, this.INTERVAL);
  26. }
  27. Booster.ID = "tw_booster";
  28. Booster.NAME = "Booster";
  29. Booster.AUTHOR = "neversleep1911";
  30. Booster.WEB_SITE = "https://gf.qytechs.cn/scripts/9007";
  31. Booster.MIN_GAME_VERSION = "2.21";
  32. Booster.MAX_GAME_VERSION = Game.version.toString();
  33. Booster.prototype.INTERVAL = 2e4;
  34. return Booster;
  35. }();
  36. $(document).ready(function() {
  37. var api;
  38. api = TheWestApi.register(Booster.ID, Booster.NAME, Booster.MIN_GAME_VERSION, Booster.MAX_GAME_VERSION, Booster.AUTHOR, Booster.WEB_SITE);
  39. api.setGui("Copyrights, changelog and other details see <a href='" + Booster.WEB_SITE + "' target='_blank'>here</a>.");
  40. new Booster;
  41. return true;
  42. });
  43. });

QingJ © 2025

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