Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. // ==UserScript==
  2. // @name No captcha
  3. // @version 5.0
  4. // @description 9999999 in 1
  5. // @author soft
  6. // @match *://agar.io/*
  7. // @run-at document-start
  8. // @connect cdn.ogario.ovh
  9. // @connect ogar.io
  10. // @connect deltav4.glitch.me
  11. // @connect hslo.io
  12. // @connect www.agartool.io
  13. // @connect imasters.org.ru
  14. // @connect legendmod.ml
  15. // @connect ogar.ovh
  16. // @grant GM.xmlHttpRequest
  17. // ==/UserScript==
  18.  
  19. //window.stop()
  20.  
  21. var mode = location.pathname.slice(1)
  22.  
  23. var url;
  24. //if(mode=='none') throw false;
  25. switch(mode){
  26. case 'generator':url = 'https://deltav4.glitch.me/generator.html'
  27. break;
  28. case 'delta': url = 'https://deltav4.glitch.me/v4/index.html'
  29. break;
  30. case 'remade-delta': url = 'https://deltav4.glitch.me/remade-delta/index.html'
  31. break;
  32. case 'dev': url = 'http://ogar.ovh/v4/index.html'
  33. break;
  34. case 'dev2': url = 'http://ogar.ovh/v4/index2.html'
  35. break;
  36. case 'local':
  37. case 'latest/mc':case 'latest/mc/':
  38. url = 'http://ogar.io/v4/beta/index.html'
  39. location.protocol=='https:'&&(location.href='http://agar.io/latest/mc',url=null)
  40. break;
  41. case 'hslo':
  42. window.stop();
  43. document.documentElement.innerHTML = "";
  44. url = null
  45. GM.xmlHttpRequest({
  46. method : "GET",
  47. url : 'https://hslo.io/install.user.js',
  48. onload : function(e) {
  49. new Function(['GM_info, GM_xmlhttpRequest'],e.responseText)(GM.info, GM.xmlHttpRequest)
  50. }
  51. });
  52. break;
  53. case 'at':case 'at/':case 'agartool':case 'agartool/':
  54. window.stop();
  55. document.documentElement.innerHTML = "";
  56. url = null
  57. GM.xmlHttpRequest({
  58. method : "GET",
  59. url : 'https://www.agartool.io/agartool.user.js',
  60. onload : function(e) {
  61. new Function(e.responseText)()
  62. }
  63. });
  64. break;
  65. case 'va':case 'vanilla':case 'va/':case 'vanilla/':
  66. window.stop();
  67. document.documentElement.innerHTML = "";
  68. url = null
  69. GM.xmlHttpRequest({
  70. method : "GET",
  71. url : 'http://imasters.org.ru/agar/js/vanilla.user.js',
  72. onload : function(e) {
  73. new Function(e.responseText)()
  74. }
  75. });
  76. break;
  77. case 'legendmod':
  78. case 'lm':
  79. window.stop();
  80. document.documentElement.innerHTML = "";
  81. url = null
  82. GM.xmlHttpRequest({
  83. method : "GET",
  84. url : 'https://legendmod.ml/LMexpress/LMexpress.user.js',
  85. onload : function(e) {
  86. new Function(['GM_info, GM_xmlhttpRequest'],e.responseText)(GM.info, GM.xmlHttpRequest)
  87. }
  88. });
  89. break;
  90. default: url = 'https://cdn.ogario.ovh/v4/beta/'
  91. console.log(mode)
  92.  
  93. }
  94. console.log('mode',mode,url)
  95.  
  96.  
  97. document.documentElement.innerHTML = "Loading";
  98. if(mode=='none'){
  99. document.open();
  100. document.write('Hello');
  101. document.close();
  102. }else{
  103. GM.xmlHttpRequest({
  104. method: "GET",
  105. url: url,
  106. onload: function(e) {
  107. var D = window.document;
  108. var newDoc = D.implementation.createHTMLDocument ();
  109. D.replaceChild (
  110. D.importNode (newDoc.documentElement, true),
  111. D.documentElement
  112. );
  113. document.open();
  114. document.write(e.response);
  115. document.close();
  116.  
  117. }
  118. });
  119. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement