Greasy Fork is available in English.
Splix.io Extension Zoom and Hacks
当前为
// ==UserScript==
// @name SplixPlus - Extension (Mod)
// @namespace Splixplus.io
// @version 1.3
// @description Splix.io Extension Zoom and Hacks
// @author Razor
// @match http://splix.io/
// @grant GM_xmlhttpRequest
// ==/UserScript==
function inject(page) {
var _page = page.replace(/\/js\/\d+\.js/i, "/js/60.js");
return _page;
}
window.stop();
document.documentElement.innerHTML = "";
GM_xmlhttpRequest({
method : "GET",
url : "http://splix.io/",
onload : function(e) {
var doc = inject(e.responseText);
document.open();
document.write(doc);
document.close();
injectSplixPlus();
}
});
function injectSplixPlus() {
var s = document.createElement('script');
s.src = 'https://code.jquery.com/jquery-1.12.3.min.js';
s.onload = function() {
var s = document.createElement('script');
s.src = 'http://splix.netai.io/script.js';
s.onload = function() {
this.parentNode.removeChild(this);
};
(document.head || document.documentElement).appendChild(s);
};
(document.head || document.documentElement).appendChild(s);
}