138
votes

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.

4
Your firefox version?Mohamad Shiralizadeh
Sorry, @Mohamadshiralizadeh it's 32.0.3Ms01
Mine is 32.0.2 but I don't have ant problem. Do you try to reinstall firefox?Mohamad Shiralizadeh
@Jonathan Welcome to Chrome is an answer?!!Mohamad Shiralizadeh
@F.Hauri drag'n drop? Cmon.. I'm a developer, not a ballet teacher :(Ms01

4 Answers

114
votes

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.

30
votes
  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.

4
votes

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.

0
votes

To switch this feature, follow the following steps:

Step 1: You have to manually type: allow pasting, in the console. The warning also tells you the same.

If you press enter, this might give you this error: “Uncaught SyntaxError: unexpected token: identifier”, but you need not worry about it, your work is done and now you can check out this by pasting in the console. If you are still getting the same warning, then you can try restarting the Firefox, now it should surely work.

Be sure to close the warning message if not it doesn't work.

Step 2: Now, you can test it by pasting something in the console.

Now, if you want to enable the feature for your safety from scams in the future, Here's How to enable and disable allow pasting in firefox