搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Disable the "Enable Firefox Developer Tools" tab

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

Since it seems I can't change hotkeys in Firefox, I thought I'd turn off the developer tools. But now when I press F12 it opens up a tab asking if I want to enable developer tools.

How do I stop that from happening? I have other uses for F12 than the developer tools I don't use.

Since it seems I can't change hotkeys in Firefox, I thought I'd turn off the developer tools. But now when I press F12 it opens up a tab asking if I want to enable developer tools. How do I stop that from happening? I have other uses for F12 than the developer tools I don't use.

所有回覆 (1)

more options

You need to set devtools.policy.disabled = true or possibly use a policy to disable the developertools and free up F12.