Disable the F12 key in Firefox

See how to disable the F12 key that opens developer tools in Firefox.

firefox about config f12 a

Pressing the F12 key in Firefox will open the developer tools at the bottom or side of the screen. But there are users who often accidentally press F12 and this can be quite annoying.

Either you want nothing to do with these tools and F12, or one δεν θέλετε ο υπάλληλος να "παίζει" με το Firefox, μπορείτε να απενεργοποιήσετε πλήρως την εντολή με μία απλή ρύθμιση το config.

Ενημερωτικά, η λειτουργία "εργαλεία προγραμματιστή" used by web developers or advanced users to test new features or troubleshoot issues on their websites. Ordinary users who want to use their browser to surf the web, they do not need this function.

Let's see how you do it. We assume you have updated Firefox to its latest version which at the time of writing is 115.

Step 1 : Open Firefox and type in addresses about: config and press Enter.

Step 2 : It will show you a warning message, click on 'Accept risk and continue' button. It will open the hidden secret advanced settings page of Firefox.

firefox about config

Step 3 : In the search bar type the following to search the F12 parameter:
devtools.f12_enabled

From before, the preference value is set to true , which means that the F12 key is set to open Developer Tools in Firefox.

Step 3 : To disable the F12 key double click on the devtools.f12_enabled preference to set it to false.

firefox about config f12 115

That's it. If you try pressing the F12 key you will see that it does nothing.

NOTE: If you want to access Developer Tools again change the parameter to true.

In older versions of Firefox, i.e. from 114 and back, instead of the devtools.f12_enabled parameter search for:  devtools.experiment.f12.shortcut_disabled

and here its setting is completely reversed. That is, with true, F12 is disabled and with false, it is enabled.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.
dev, tools, Firefox, Mozilla

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).