您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
原理就是覆盖剪切板,理论上大部分网站都支持
// ==UserScript== // @name 阻止拷贝文档添加版权信息 // @version 2.0 // @author xf // @description 原理就是覆盖剪切板,理论上大部分网站都支持 // @include * // @license MIT // @namespace https://greasyfork.org/users/392746 // ==/UserScript== (function() { 'use strict'; [...document.querySelectorAll('*')].forEach(item=>{ item.oncopy = function(e) { e.stopPropagation(); }}); })();