Last active
October 1, 2020 15:30
-
-
Save anishkny/e3c657f9e9743bad049f428e3e2f1541 to your computer and use it in GitHub Desktop.
Allow copy paste in webpage
This file contains 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
document.addEventListener('paste', function (e) { e.stopImmediatePropagation(); return true; }, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment