5 ms·
Is there a way to disable just pieces of JS, so I can turn off "onpaste"? note: sorry, accidentally deleted earlier version of this comment.
by matt_morgan 10y ago
Is there a way to disable just pieces of JS, so I can turn off "onpaste"?
note: sorry, accidentally deleted earlier version of this comment.
- MrQuincle 10y agoJavascript injection returns quite a few hits. For example for Chrome: https://chrome.google.com/webstore/detail/css-and-javascript-inject/ckddknfdmcemedlmmebildepcmneakaa?hl=en https://chrome.google.com/webstore/detail/css-and-javascript...
- matt_morgan 10y agoFound Stack Overflow discussion with some suggestions: http://superuser.com/questions/858082/how-can-i-selectively-disable-paste-blockers http://superuser.com/questions/858082/how-can-i-selectively-...
- bbarn 10y agoI just added it to my list of stuff that pushing this bookmarklet button fixes: javascript:void(document.onmousedown=null);void(document.onclick=null);void(document.oncontextmenu=null);void(document.onpaste=null)
- thameera 10y agoWouldn't setting `onclick` to null break desired functionality in some sites?
- NegativeLatency 10y agoSure would. You couple just reload the page after logging in though.
- jameshart 10y agoOff topic note, but this comment causes this page to be nearly unreadable on iPhone, because it doesn't line wrap. Should probably be something in the HN CSS to fix that.