Greasy Fork is available in English.

我愛蘋果日報

Only for Academic Research

// ==UserScript==
// @name         我愛蘋果日報
// @namespace    https://greasyfork.org/users/244830
// @version      1.1
// @description  Only for Academic Research
// @icon         https://img.appledaily.com.tw/appledaily/pinsite/64x64.ico
// @match        *://*.appledaily.com/*
// @match        *://*nextmag.com.tw/*
// @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();