Last active
June 10, 2021 08:28
-
-
Save youcune/a5a98b4979aa221f65205f1730b469b9 to your computer and use it in GitHub Desktop.
onpasteを削除するJavaScriptブックマークレット
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
javascript:'use%20strict';const%20_inputs=document.getElementsByTagName(%22input%22);for(const%20a%20of%20_inputs)a.onpaste=null; |
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
const _inputs = document.getElementsByTagName("input"); | |
for (const _input of _inputs) { | |
_input.onpaste = null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment