Created
March 20, 2021 04:17
-
-
Save shanehh/1580e6e109ceb35fe82dabcde1ae2a2e to your computer and use it in GitHub Desktop.
Bro, don't pollute my clipboard!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name c | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.zhihu.com/question/* | |
// @match https://www.douban.com/note/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
setTimeout(() => { | |
document.addEventListener("copy", function (event) { | |
event.stopPropagation(); | |
}, true); | |
}, 2000) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment