您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
解除页面对复制的限制
当前为
// ==UserScript== // @name csdn 页面优化处理 // @name:zh csdn 页面优化处理 // @namespace https://github.com/ilyydy/tampermonkey-script // @version 0.0.5 // @author ilyydy // @description 解除页面对复制的限制 // @description:zh 解除页面对复制的限制 // @description:zh-CN 解除页面对复制的限制 // @license MIT // @icon https://g.csdnimg.cn/static/logo/favicon32.ico // @supportURL https://github.com/ilyydy/tampermonkey-script/issues // @match http*://blog.csdn.net/* // ==/UserScript== (function() { "use strict"; function run(doc) { var _a; doc.body.contentEditable = "true"; for (const element of Array.from(doc.getElementsByTagName("pre"))) { element.style.userSelect = "auto"; element.classList.remove("set-code-hide"); (_a = element.querySelector(".hide-preCode-box")) == null ? void 0 : _a.remove(); } for (const element of Array.from(doc.getElementsByTagName("code"))) { element.style.userSelect = "auto"; element.removeAttribute("onclick"); } } run(document); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址