This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I disable pasting in the console

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I enabled pasting in the firefox console too add a handler to firefox extentions, how do I disable pasting

I enabled pasting in the firefox console too add a handler to firefox extentions, how do I disable pasting

All Replies (4)

more options

Can you please also clarify if the shortcuts used for copying and pasting are not working in the Web Console. By default they are on, and I do not believe there is a way to turn them off.

more options

Do you mean registering an e-mail handler by setting the gecko.handlerService.allowRegisterFromDifferentHost pref to true on the about:config page and pasting a navigator.registerProtocolHandler() code in the command line (>) in the Web Console?

If you have finished all those steps and reset the gecko.handlerService.allowRegisterFromDifferentHost pref to false then you can close the Web Console via the close X or via "Tools > Web Developer > Developer Toolbar".


You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

i used allow pasting, would like to turn that off so i cannot paste

more options

I don't think that it is possible to grant pasting permission in current releases unless you mean the dom.event.clipboardevents.enabled pref on the about:config page.