How to defeat websites that block your ability to paste in Firefox

You know those super-annoying websites–yes, Aeroplan, I’m talking about you–that hijack your ability to paste values into password?

In Firefox, at least, you can defeat this hijacking, for all sites, by:

  1. Enter about:config in your Firefox address bar.
  2. Search for dom.event.clipboardevents.enabled
  3. Double-click it to change the value to “false”.
  4. That is all.

Once you do this, you’ll be able to Command+V or Edit > Paste to your heart’s content.

Hat tip to this Lifehacker post.