Message:Coronavirus (COVID-19)

Blog

How to Enable Pasting Text on Sites That Block It

April 27th, 2016 by Mark Daly in Industry News No Comments »
How to Enable Pasting Text on Sites That Block It ilicomm Technology Solutions

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–andprobably 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

If Chrome is your browser of choice, the easiest solution to your pasting problems is Don’t 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 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

Firefox users don’t need to use an extension, but instead can change the browser’s behavior in the configuration settings.

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

How to Enable Pasting Text on Sites That Block It ilicomm Technology Solutions

Search for dom.event.clipboardevents.enabled  in the search box. It’ll be the only option once you type in “dom.event.cl”:

How to Enable Pasting Text on Sites That Block It ilicomm Technology Solutions

 

 

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

How to Enable Pasting Text on Sites That Block It ilicomm Technology Solutions

 

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. 

Leave a Reply

You must be logged in to post a comment.

NEED MORE INFORMATION?Contact us to see how we can help your business

Call our Sales Team on:

+44 (0)121 289 3434

or email us at:

hello@ilicomm.com