How to Disable Copy Paste “Protection” on Websites Forms

This is a quick tip which I found useful so I mostly documenting it here for my personal use (and in case some else will find it useful).

The Easy Way – Use Firefox

In Firefox you can bypass this problem with simple about:config  setting, just set dom.event.clipboardevents.enabled to false and that’s it, no restart, and it works on any site — One more reason to use Firefox 😛 .

The Developer Way – Using the Browser Developers Tool

Right click on the input box with the “protection” and select to inspect the item, this will open the developers console, there you can find the attribute onpaste which probably calls to function or just return false , change it to return true and the should do it.

The Extension way

  1. Use password manager (e.g. LastPass) to save and fill the forms.
  2. The “Don’t Fuck With Paste” WebExtension – Firefox | Chrome
  3. UserScript with GreasyMonkey/TemperMonkey
    •     var allowPaste = function(e){
          e.stopImmediatePropagation();
          return true;
          };
          document.addEventListener('paste', allowPaste, true);

       

Resources

  • https://www.cyberciti.biz/linux-news/google-chrome-extension-to-removes-password-paste-blocking-on-website/

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *