How to disable paste protection in Mozilla Firefox Developer Console?

I have noticed that in recent versions of Mozilla Firefox there is a super, super annoying bug that disables pastes into the developer console. This has to be the single worst idea ever.

However, I have tried to allow it by typing in the text that it wants me to but I can still not paste in stuff and I think I'm soon going to be so annoyed that I have to switch browser since I use the developer console every day. I really like Mozilla and Firefox and do not want to switch for such a silly thing.

So how to turn off this crappy "feature" for good? I really hope there is a setting but I can't find one. If not I guess I'll have to open a bug ticket for it.

My firefox version is: 32.0.3

If any Firefox developer sees this, please stop implementing features that makes developers go mad. No non-developer is in that developer console anyway and if they get tricked into pasting something there it is not your fault.


Solution 1:

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.

Solution 2:

If you want to fix it only temporarily you can do this:

  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.

Solution 3:

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.