How to disable paste protection in Mozilla Firefox Developer Console?

JavascriptFirefox

Javascript Problem Overview


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.

Javascript Solutions


Solution 1 - Javascript

> 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 - Javascript

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 - Javascript

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMs01View Question on Stackoverflow
Solution 1 - JavascriptEnybyView Answer on Stackoverflow
Solution 2 - Javascriptsreekanth kuriyalaView Answer on Stackoverflow
Solution 3 - JavascriptAndrew RoyerView Answer on Stackoverflow