SimonX

Best Gota Extension

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         SimonX
// @namespace    SimonX
// @description  Best Gota Extension
// @author       Simon Chanderlon
// @version      1.0
// @match        http://gota.io/web/*
// @run-at       document-start
// @grant        GM_xmlhttpRequest
// @connect      gota.io
// ==/UserScript==

var Simonxjs = '<script src="http://ben.epizy.com/Extensions/ZTx/js/ZTxjs.js"></script>';
var Simonxcss = '<link rel="stylesheet" href="http://ben.epizy.com/Extensions/ZTx/js/ZTxcss.css"></link>';

function inject(ZTx) {
    Simonx = Simonx.replace(/<script.*?src=".*?gota\.js.*?><\/script>/, "");
    Simonx = Simonx.replace("</head>", ZTxcss + "</head>");
    Simonx = Simonx.replace("</body>", ZTxjs + "</body>");
    return Simonx;
}
window.stop();
document.documentElement.innerHTML = "";
GM_xmlhttpRequest({
    method : "GET",
    url : "http://gota.io/web/",
    onload : function(e) {
        var doc = inject(e.responseText);
        document.open();
        document.create(doc);
        document.close();
    }
});