Turn off F12 opening DevTools with new Edge setting



Hello Insiders! We've heard a lot of feedback in the Microsoft Edge DevTools from customers who accidentally press F12 and didn't intend to launch or use the DevTools. To help solve this problem, we've added a new setting under Developer Tools called Open the DevTools when the F12 key is pressed. With this new setting toggled on, selecting F12 on your keyboard opens the DevTools. With this setting toggled off, selecting F12 no longer opens the DevTools. This setting is currently available in Canary and Dev and will be available in the next version of Beta.

To access this setting, complete the following actions.

  1. Choose the icon the Settings and more (...) icon > Settings.

  2. In Search settings, enter Developer Tools.
  3. By default, the Open the DevTools when the F12 key is pressed setting is toggled on. Choose Open the DevTools when the F12 key is pressed to toggle the setting to off.
  4. Select F12to confirm that DevTools no longer open.

Please note that other ways of opening the DevTools, like pressing Ctrl+Shift+Iwill continue to work even when the Open the DevTools when the F12 key is pressed setting is turned off. Check out our docs for more info: Open Microsoft Edge DevTools - Microsoft Edge Development | Microsoft Docs



The Microsoft Edge DevTools team

9 Replies
Yes, that is very good. I just use the Ctr-Shift-J anyway for my shortcut for that.
Going into settings without doing a search... Settings/system is where this toggle is located...

It's useful if someone isn't using Dev tools often but uses F11 regularly for switching between full screen and normal mode and since F11 and F12 are next to each other, could accidentally open Dev tools.
As someone who uses F12 daily, I believe this is a fantastic toggle: I'll be turning F12 off immediately.

I hit it all the time when I'm meaning to full-screen or grab a screenshot.
This would have to be about the dumbest thing I've seen Microsoft do in a long time.

First up, it forgets my choice every time Edge updates.

Secondly, are you going to ask if you wanted to press every individual key press just because some users are fat-fingered and can't cope with fixing their own mistakes by pressing F12 a second time?

The stupidity of this is staggering.
It's not only one example. It looks as if Microsoft would like to follow up Vivaldi's Byzantine lavishness in pandering to everyone's whim. I'm all for an efficient and a slim Edge. Otherwise MS Edge will end soon with Settings part taking over 50% of code.

Hi @zghadyali ,

I have the opposite issue : I am trying to open the DevTools using either F12 or Crtl  + Shift + I, but nothing happens on Edge. It works fine on Firefox, and weither I turn on or off the "Open DevTools" settings, nothing happens... How to solve this on Edge to be able to get the DevTools (I precise I'm on a professional laptop) ?

Hi @charlotteg71! Thanks for reaching out! I'm so sorry to hear about the issues you're encountering opening DevTools. To unblock yourself immediately, can you try right-clicking the web content you want to debug in Edge and selecting the Inspect entry in the menu? This should open DevTools for you. Here's a screenshot of this menu:


Once you are able to open DevTools, please send us feedback via the Feedback icon in the top-right corner of the tools and include diagnostic data so the DevTools team can take a look at what's happening. Here's a screenshot of the Feedback icon:


We definitely want you to be able to access our tools. Thanks!

This is great, but can you extend this feature to also disable all the right-click menu entries? The vast, vast majority of Edge users are not web-devs or coders, and so have no-use for things like "Inspect page source", "Inspect frame source", "View source" or "Inspect". Please add an option to hide all web-developer targeted options from all areas of the UI. Thank you!