Greasy Fork is available in English.
Only for Academic Research
当前为
// ==UserScript==
// @name 我愛蘋果日報
// @namespace http://greasyfork.icu/users/244830
// @version 1.0
// @description Only for Academic Research
// @icon https://img.appledaily.com.tw/appledaily/pinsite/64x64.ico
// @match *://tw*.appledaily.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
var content = "";
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState === XMLHttpRequest.DONE && xhr.status === 200) {
content = this.responseText.replace("switch(e)", "switch('ad')").replace(/3000/g, "30000000000000000");
}
}
xhr.open("GET", document.location.href, false);
xhr.send();
document.open();
console.log(content);
document.write(content);
document.close();