How to disable paste protection in Mozilla Firefox Developer Console? How to disable paste protection in Mozilla Firefox Developer Console? javascript javascript

How to disable paste protection in Mozilla Firefox Developer Console?


Since you are automating things, you can get rid of this feature by setting the setting devtools.selfxss.count to a high number like 100.

https://bugzilla.mozilla.org/show_bug.cgi?id=994134#c82

This settings can be changed on page about:config.


  1. Open console and type "allow pasting" and hit enter.
  2. Now try to paste something. It will paste.

The Same solution is provided by Mozilla when we try to paste.

Hope this will help you.


Actually as of may 21 2020 "allow paste" "allow pasting" and devtools.selfxss.count do not work. I already migrated from chrome because of backdoors literally built into the browser by developers. I'd really rather not have to do that again already.

The solution I found was to use about:config and set “dom.event.clipboardevents.enabled” to false. Worked for me, this should work.