How to disable paste protection in Mozilla Firefox Developer Console?

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.

This settings can be changed on page about:config.

Solution 2:

  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:

I’m running E2E Tests with Protractor on Firefox on OS X. Each time I run my tests I have a “fresh” browser instance and get totally annoyed when I open the dev tools and try pasting something. BetterTouchTool to the Rescue!

Custom Firefox specific shortcut for the dev console