Advertisement
R4MS3S

Untitled

Apr 25th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. // ==UserScript==
  2. // @name hide texturemap
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description hides texturesMap of delta agario extension
  6. // @author r4ms3s inc.
  7. // @match *://agar.io/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=agar.io
  9. // @grant window.close
  10. // @run-at document-start
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. var interval = setInterval(function(){
  17. console.log('attempting to remove textureMap');
  18. if (unsafeWindow.Texture && unsafeWindow.Texture.texturesMap) {
  19. unsafeWindow.Texture.texturesMap.clear();
  20. console.log('textureMap removed successfuly!');
  21. clearInterval(interval);
  22. }
  23. }, 2000);
  24.  
  25. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement