How to enable copy/paste in website Firefox

How to Enable Pasting Text on Sites That Block It Melanie Pinola @melaniepinola April 27, 2016, 3:05pm EDT Some companies think theyre increasing security by disabling y

How to enable copy/paste in website Firefox

How to Enable Pasting Text on Sites That Block It

  • Melanie Pinola

@melaniepinola

  • April 27, 2016, 3:05pm EDT
paypal

Some companies think theyre increasing security by disabling your ability to pasteinto form fields, such as the password field. But in reality, all theyre doing is frustrating usersand probably decreasing securityby blocking password managers. Heres how to solve this annoyance in Chrome and Firefox.

In Chrome: Use the Dont F*ck with Paste Extension

If Chrome is your browser of choice, the easiest solution to your pasting problems is Dont F*ck with Paste. Add that extension to Chrome, and it will just work quietly in the background. It tells the browser to accept all paste events and skip any paste event handlers on the page.

This is the code by developer Vivek Gite, in case youre interested:var allowPaste = function(e){ e.stopImmediatePropagation(); return true;};document.addEventListener('paste', allowPaste, true);

But you dont really need to know that. Its just a simple extension that worked for me with PayPal and Western Union (which a similar extension, Allow Copy, couldnt fix).

In Firefox: Modify YourConfiguration Settings

Firefox users dont need to use an extension, but instead can change the browsers behavior in the configuration settings.Advertisement

Head to about:config in Firefox and click the Ill be careful, I promise! button to proceed past the warning.

firefox-config650

Searchfor dom.event.clipboardevents.enabled in the search box. Itll be the only option once you type in dom.event.cl:

firefox-config650-2

The Best Tech Newsletter Anywhere

Join 425,000 subscribers and get a daily digest of features, articles, news, and trivia. Sign Me Up! We've got your info - thanks for signing up! We were unable to subscribe you! Please check your e-mail address or contact us for assistance. Signing you up...

By submitting your email, you agree to the Terms of Use and Privacy Policy.

Double-click on the setting to change the value from true to false.

firefox-config650-3

Advertisement

Now websites cant mess with your clipboard or block your ability to copy and paste.

Its terrible that we have to jump through hoops to easily use our long passwords on many sites, but at leastit only takes a couple of minutes to fix this frustration.Melanie Pinola
Melanie Pinola is a veteran productivity and technology journalist. Her work has also appeared in The New York Times, Wirecutter, Lifehacker, Engadget, Laptop Magazine, Popular Mechanics, IDG'sITworld, and on Zapier's blog. Read Full Bio »

Video liên quan