Greasy Fork 支持简体中文。

Custom gbob

game popping

  1. // ==UserScript==
  2. // @name Custom gbob
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description game popping
  6. // @author Commensalism
  7. // @match http*://gpop.io/play/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=gpop.io
  9. // @license MIT
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. //example gbobs made by giro57
  14. const gbobsrc = "https://raw.githubusercontent.com/Commensalism1997/gbob/main/teto";
  15.  
  16. (function() {
  17. window._$7N._$R = function(a, f) {
  18. var c = window._$7N._$7p;
  19. if (!(a in c)) {
  20. c[a] = {};
  21. }
  22. for (var e = 0; e < f.length; e++) {
  23. var d = f[e];
  24. if (d in c[a]) {
  25. continue;
  26. }
  27. var g = gbobsrc.replace(/\/$/, "") + "/" + d + ".png";
  28. var b = new Image();
  29. b._$1x = false;
  30. b["onload"] = function(a) {
  31. this._$1x = true;
  32. }
  33. ;
  34. b["src"] = g;
  35. c[a][d] = b;
  36. }
  37. }
  38. })();