您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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();