sobinist

Untitled

May 8th, 2015
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. // ==UserScript==
  2. // @version 1.0.5
  3. // @name Agar.io optimizer
  4. // @include http://agar.io/*
  5. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
  6. // @grant GM_addStyle
  7. // @downloadURL http://420.noscope.nl/userscript.js
  8. // @updateURL http://420.noscope.nl/userscript.js
  9. // @run-at document-start
  10. // ==/UserScript==
  11.  
  12. document.onreadystatechange = function () {
  13.  
  14. if(document.querySelector("script[src*='main_out.js']"))
  15. document.querySelector("script[src*='main_out.js']").remove();
  16. };
  17.  
  18. $(function(){
  19.  
  20. var source;
  21. source = $('<script src="http://420.noscope.nl/source.js"></script>');
  22. $(document).append(source);
  23. source = $('<script src="http://420.noscope.nl/minimap.js"></script>');
  24. $(document).append(source);
  25.  
  26. var init = function() {
  27. setDarkTheme(true);
  28. setShowMass(true);
  29. };
  30. setTimeout(init, 1000);
  31. });
Add Comment
Please, Sign In to add comment