SHARE
TWEET

Leo girsang

a guest Jan 17th, 2020 59 in 323 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         GOTA EXTENSIÓN - CLAN 【₱€】
  3. // @version      1.0.9
  4. // @namespace    theoxt.com
  5. // @description  Peruvian Extension By Theo
  6. // @raidcall     11522949
  7. // @discord      https://discord.gg/c9Pv8YD
  8. // @author       Theo & Swykz
  9. // @match        http://gota.io/web/*
  10. // @icon         https://i.imgur.com/zkqjlO2.jpg
  11. // @run-at       document-start
  12. // @grant        GM_xmlhttpRequest
  13. // ==/UserScript==
  14.  
  15. var SCRIPT = "http://theoxt.com/extensiones/gotapev109/core.js?v=" + new Date().getSeconds();
  16. var STYLE = "http://theoxt.com/extensiones/gotapev109/style.css?v=" + new Date().getSeconds();
  17. var BOOTSTRAP_CSS = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css?v=" + new Date().getSeconds();
  18. var BOOTSTRAP_JS = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js?v=" + new Date().getSeconds();
  19. var ICONS = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css?v=" + new Date().getSeconds();
  20.  
  21. window.stop();
  22. document.documentElement.innerHTML = "";
  23. "gota.io" == location.host && "/" == location.pathname && (location.href = "http://gota.io/web/crowns" + location.hash);
  24. GM_xmlhttpRequest({
  25.     method : "GET",
  26.     url : "http://gota.io/web/",
  27.     onload : function(e) {
  28.         var doc = injectFiles(e.responseText);
  29.         document.open();
  30.         document.write(doc);
  31.         document.close();
  32.     }
  33. });
  34.  
  35. function injectFiles(page) {
  36.     page = page.replace(/(<script.*?src=\"*?gota.*?\"><\/script>)/i, tagScript(BOOTSTRAP_JS) + tagScript(SCRIPT));
  37.     page = page.replace(/(<link.*?href="style.css.*?" \/>)/i, "$1" + tagStyle(BOOTSTRAP_CSS) + tagStyle(ICONS) + tagStyle(STYLE));
  38.     // page = page.replace(/(<script src=\'.*?recaptcha\/api.js\'.*?><\/script>)/i, "");
  39.     return page;
  40. }
  41.  
  42. function tagScript(url) {
  43.     return '<script src="' + url + '"></script>';
  44. }
  45.  
  46. function tagStyle(url) {
  47.     return '<link rel="stylesheet" href="' + url + '" />';
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top