Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

How to disable developer tools or the shortcuts that open them

  • 2 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от cor-el

more options

Hello,

I am trying to lock down Firefox 57+ for people to use at my company. So far I have a kiosk mode running with the only outstanding issue is by pressing F12 or CTRL+SHIFT+C the developer tools can be accessed.

I need to disable this but unfortunately the user_pref snippets I have seen posted about dont work (pasted below). Does anyone have any guidance on how this can be achieved ideally without any extensions.

user_pref("devtools.debugger.enabled", false); user_pref("devtools.errorconsole.enabled", false); user_pref("devtools.inspector.enabled", false); user_pref("devtools.layoutview.enabled", false); user_pref("devtools.responsiveUI.enabled", false); user_pref("devtools.ruleview.enabled", false); user_pref("devtools.scratchpad.enabled", false); user_pref("devtools.styleeditor.enabled", false); user_pref("devtools.tilt.enabled(3D View)", false); user_pref("devtools.toolbar.enabled", false);

Thank you!

Hello, I am trying to lock down Firefox 57+ for people to use at my company. So far I have a kiosk mode running with the only outstanding issue is by pressing F12 or CTRL+SHIFT+C the developer tools can be accessed. I need to disable this but unfortunately the user_pref snippets I have seen posted about dont work (pasted below). Does anyone have any guidance on how this can be achieved ideally without any extensions. user_pref("devtools.debugger.enabled", false); user_pref("devtools.errorconsole.enabled", false); user_pref("devtools.inspector.enabled", false); user_pref("devtools.layoutview.enabled", false); user_pref("devtools.responsiveUI.enabled", false); user_pref("devtools.ruleview.enabled", false); user_pref("devtools.scratchpad.enabled", false); user_pref("devtools.styleeditor.enabled", false); user_pref("devtools.tilt.enabled(3D View)", false); user_pref("devtools.toolbar.enabled", false); Thank you!

Все ответы (2)

more options

On further review, is it possible to blanket disable all Firefox shortcuts?

more options

See if one of these extensions can do what you want.

Note that the devtools.*enabled prefs are merely about what to show on the toolbar in the developer tools and not about disabling keyboard shortcuts.