// ==UserScript== // @name 关闭复制后缀 // @namespace http://tampermonkey.net/ // @version 0.3.1 // @description close_suffix_of_website_read // @author You // @match https://*/* // @match http://*/* // @license GPL-3.0 // @icon none // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; Object.defineProperty(Element.prototype, "oncopy", { value: 1, writable: true, }) const oldEventListener = EventTarget.prototype.addEventListener EventTarget.prototype.addEventListener = function (type, listener, options) { if (type == "copy") { } else { return oldEventListener.call(this, type, listener, options); } } })();