Greasy Fork is available in English.
close_suffix_of_website_read
当前为
// ==UserScript==
// @name 关闭复制后缀
// @namespace http://tampermonkey.net/
// @version 0.1
// @description close_suffix_of_website_read
// @author You
// @match https://*/*
// @match http://*/*
// @icon none
// @grant none
// ==/UserScript==
(function() {
'use strict';
HTMLDivElement.prototype.oncopy = null
const oldEventListener = EventTarget.prototype.addEventListener
EventTarget.prototype.addEventListener = function (type, listener, options) {
if (type == "copy") {
} else {
return oldEventListener.call(this, type, listener, options);
}
}
})();