Created
August 27, 2015 17:40
-
-
Save sheeley/53882a8a8f1f30e86d79 to your computer and use it in GitHub Desktop.
F U ADP
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
| // this gets you most of the way to being able to paste your account information | |
| var trs = document.querySelectorAll('tr, input[type=text]'); | |
| for(var i = 0; i < trs.length; i++){ | |
| var tr = trs[i]; | |
| tr.onpaste = null; | |
| tr.onkeypress = null; | |
| tr.oncontextmenu = null; | |
| } | |
| document.removeEventListener('mousedown') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment