pastebin - collaborative debugging tool
kpaste.kpaste.net RSS


Untitled
Posted by Anonymous on Fri 21st Aug 2020 13:23
raw | new post

  1. // ==UserScript==
  2. // @name         OGARio
  3. // @grant        GM_xmlhttpRequest
  4. // @run-at       document-start
  5. // @match        *://agar.io/*
  6. // ==/UserScript==
  7. if(location.host === 'agar.io' && location.pathname === '/'){
  8.     location.href = `https://agar.io/ogario${location.hash}`
  9.     return
  10. }
  11. function modifyHTML(html){
  12.     return html
  13.         .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><script src="https://www.google.com/recaptcha/api.js?render=explicit"></script>')  
  14.         .replace('https://cdn.ogario.ovh/v4/beta/ogario.v4.js', 'https://ogario.yolasite.com/ws/media-library/4ae113c9f8564886b514a9e2bfcc32c4/ogario.js')
  15. }
  16. GM_xmlhttpRequest({
  17.     method: 'GET',
  18.     url: 'https://cdn.ogario.ovh/v4/beta',
  19.     onload(res2){
  20.         document.open()
  21.         document.write(modifyHTML(res2.responseText))
  22.         document.close()
  23.     }
  24. })

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at