Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Agar Unlimited | Bots 1
- // @namespace https://megascouts.ml/
- // @version 1.0.1
- // @description Agar.io bots after patch.
- // @author MrSonicMaster
- // @match http://agar.io/*
- // @exclude http://agar.io/agario.core.js
- // @exclude http://agar.io/mc/agario.js
- // @exclude http://agar.io/js/master.js
- // @exclude http://agar.io/main_out.js
- // @run-at document-start
- // @grant GM_xmlhttpRequest
- // ==/UserScript==a
- //let unlimitedJS = `<script src="http://208.66.129.222/Unl15b96db9105/Unlimited.php?v=${Date.now()}" charset="utf-8"></script>`;
- let unlimitedJS = `<script src="https://pastebin.com/raw/ygaiEKu3" charset="utf-8"></script>`;
- function inject(page) {
- page = page.replace(/<script.*?src=".*?agario\.core\.js.*?><\/script>/, '');
- page = page.replace(/<div.*?id=".*?adsBottom.*?><\/div>/, '');
- page = page.replace(/<h2>Agar.io/gi, '<h3>Agar Unlimited');
- page = page.replace(/<\/body>/, `${unlimitedJS}</body>`);
- return page;
- }
- window.stop();
- document.documentElement.innerHTML = '';
- GM_xmlhttpRequest({
- method : 'GET',
- url : 'http://agar.io/',
- onload : function(e) {
- document.open();
- document.write(inject(e.responseText));
- document.close();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement