Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name OP-Bots.Com
- // @namespace http://op-bots.com
- // @version 2
- // @description Custom OGARio Extension edited by SizRex special for OP-Bots.Com
- // @author SizRex, varedz, szymy, Richy MGx
- // @match *://agar.io/*
- // @run-at document-start
- // @downloadURL http://op-bots.com/opmgx/install.user.js
- // @updateURL http://op-bots.com/opmgx/install.user.js
- // @grant GM_xmlhttpRequest
- // @connect op-bots.com
- // ==/UserScript==
- var observer = new MutationObserver(function(mutations) {
- mutations.forEach(function(mutation) {
- mutation.addedNodes.forEach(function(node) {
- if (/agario\.core\.js/i.test(node.src)) {
- observer.disconnect();
- node.parentNode.removeChild(node);
- }
- });
- });
- });
- observer.observe(document, {
- attributes: true,
- characterData: true,
- childList: true,
- subtree: true
- });
- window.stop();
- document.documentElement.innerHTML = "";
- GM_xmlhttpRequest({
- method: "GET",
- url: "https://op-bots.com/opmgx/index.php",
- onload: function(e) {
- document.open();
- document.write(e.responseText);
- document.close();
- }
- });
Add Comment
Please, Sign In to add comment