您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
No login required, copy webpage conten and open reader mode in 360doc.com; lightly adjust webpage layout for better reading experience;
// ==UserScript== // @name 360doc_anti_anti-copy_anti_anti-contextmenu // @namespace https://github.com/Kyouichirou // @version 1.0 // @description No login required, copy webpage conten and open reader mode in 360doc.com; lightly adjust webpage layout for better reading experience; // @author HLA // @match http://www.360doc.com/content/*.shtml // @license MIT // @grant GM_addStyle // @grant unsafeWindow // @compatiable chrome; just test on chrome80+ // @run-at document-start // @noframes // ==/UserScript== (() => { "use strict"; const css = ` .a_left{ padding-left: 140px !important; } #bgchange{ width: 930px !important; } #artContent{ text-align: justify !important; width: 920px !important; max-width: 930px !important; min-width: 920px !important; } #goTop2, .floatqrcode, #adarttopgoogle, .article_showall{ display: none !important; } .articleMaxH .article_container{ height: auto !important; }`; GM_addStyle(css); window.onload = () => { document.oncontextmenu = new Proxy(document.oncontextmenu, { apply(t, tg, args) { return null; }, }); unsafeWindow.CopyMainContentObj = new Proxy( unsafeWindow.CopyMainContentObj, { get() { return true; }, } ); new MutationObserver((event) => { event.forEach((e) => { if (e.addedNodes.length === 1) { let i = e.addedNodes[0]; const c = i.className; let l = ""; if ( !( (c && typeof c === "string" && c.includes("artfullscreen")) || ((l = i.localName) && l && typeof l === "string" && l.includes("artfullscreen")) ) ) { i.remove(); i = null; } } }); }).observe(document.body, { childList: true }); }; })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址