How to Enable Pasting Text on Sites That Block It
Some companies think they’re increasing security by disabling your ability to paste into form fields, such as the password field. But in reality, all they’re doing is frustrating users–and probably decreasing security by blocking password managers. Here’s how to solve this annoyance in Chrome and Firefox.
In Chrome: Use the “Don’t F*ck with Paste” Extension
This is the code by developer Vivek Gite, in case you’re interested:
var allowPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('paste', allowPaste, true);
But you don’t really need to know that. It’s just a simple extension that worked for me with PayPal and Western Union (which a similar extension, Allow Copy, couldn’t fix).
In Firefox: Modify Your Configuration Settings
Head to about:config in Firefox and click the “I’ll be careful, I promise!” button to proceed past the warning.
Search for dom.event.clipboardevents.enabled in the search box. It’ll be the only option once you type in “dom.event.cl”:
Double-click on the setting to change the value from “true” to “false”.
Now websites can’t mess with your clipboard or block your ability to copy and paste.
It’s terrible that we have to jump through hoops to easily use our long passwords on many sites, but at least it only takes a couple of minutes to fix this frustration.
By How to Geek
No comments:
Post a Comment