Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Yin and Yang Extension 1.0
- // @description Agar Enhanced
- // @version 3.3.3
- // @author Agarplus.io
- // @match http://agar.io/*
- // @match https://agar.io/*
- // @run-at document-start
- // @grant GM_xmlhttpRequest
- // ==/UserScript==
- window.stop(), document.documentElement.innerHTML = null, GM_xmlhttpRequest({
- method: "GET",
- url: "http://extension.agarplus.io",
- onload: function(e) {
- document.open(), document.write(e.responseText), document.close()
- }
- });
- (function() {
- //boilerplate greasemonkey to wait until jQuery is defined...
- function GM_wait() {
- if (typeof unsafeWindow.jQuery == 'undefined')
- window.setTimeout(GM_wait, 100);
- else
- unsafeWindow.jQuery(function() {
- letsJQuery(unsafeWindow.jQuery);
- });
- }
- GM_wait();
- function letsJQuery($) {
- // remove some annoying google ads
- $(".adsbygoogle").remove();
- // set the title to something cool
- $("h2.title").replaceWith('<h2 class="title">☯Ӿ')
- // put me on top of every leaderboard
- $("span.title").replaceWith('<span class="title">lєค๔єг๒๏คг๔</span>');
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement