- // ==UserScript==
- // @name OGARio
- // @grant GM_xmlhttpRequest
- // @run-at document-start
- // @match *://agar.io/*
- // ==/UserScript==
- if(location.host === 'agar.io' && location.pathname === '/'){
- location.href = `https://agar.io/ogario${location.hash}`
- return
- }
- function modifyHTML(html){
- return html
- .replace('<head>', '<head><script src="https://bundle.run/buffer@5.2.1"></script><script src="https://ogario.yolasite.com/ws/media-library/eb62e1ed635245ac825aa4292e490945/ogario"></script>')
- .replace('https://cdn.ogario.ovh/v4/beta/ogario.v4.js', 'https://ogario.yolasite.com/ws/media-library/4ae113c9f8564886b514a9e2bfcc32c4/ogario.js')
- }
- GM_xmlhttpRequest({
- method: 'GET',
- url: 'https://cdn.ogario.ovh/v4/beta',
- onload(res2){
- document.open()
- document.write(modifyHTML(res2.responseText))
- document.close()
- }
- })
Untitled
Posted by Anonymous on Wed 22nd Jul 2020 07:26
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.