搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I disable pasting in the console

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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

所有回复 (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.