Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Is there a way to disable devtools before the browser is started and without a registry change?

  • 1 відповідь
  • 0 мають цю проблему
  • 69 переглядів
  • Остання відповідь від mjb

more options

We want to use Firefox on a locked down system. Using the -kiosk command line argument gets us most of the way there. But they still have access to the devtools when they hit F12. It appears there are ways to disable devtools after the browser has been started. How can we disable the devtools before the browser is opened and without registry changes?

We want to use Firefox on a locked down system. Using the -kiosk command line argument gets us most of the way there. But they still have access to the devtools when they hit F12. It appears there are ways to disable devtools after the browser has been started. How can we disable the devtools before the browser is opened and without registry changes?

Усі відповіді (1)

more options

Create user.js in your profile folder and add this to it

user_pref("devtools.policy.disabled", true);