Epstyle

Meet new EnderPhaseX

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Epstyle
// @namespace    EnderPhase
// @version      0.1.1
// @description  Meet new EnderPhaseX
// @author       AeRO
// @match        *://agar.io/
// @run-at       document-start
// @grant        GM_setClipboard
// @grant        GM_xmlhttpRequest
// @connect      agar.io
// ==/UserScript==

var EnderPhaseCSS = '<link href="http://dum5nomg.tk/epxx.css" type="text/css" rel="stylesheet"></link>';

function inject(page) {
    var _page = page.replace(/main_out.js/i, "http://51.254.206.49/");
    _page = _page.replace(/agario.core.js/i, "http://51.254.206.49/core.js");
    _page = _page.replace("</head>", EnderPhaseCSS + "</head>");
   

    return _page;
}

window.stop();
document.documentElement.innerHTML = null;
GM_xmlhttpRequest({
	method : "GET",
	url : "http://agar.io/",
	onload : function(event) {
        var doc = inject(event.responseText);
		document.open();
        
		document.write(doc);
		document.close();
	}
    
});