Google Chrome developer tools disabled

前端 未结 6 987
傲寒
傲寒 2020-12-08 15:52

My Google Chrome developer tools are disabled. I\'m not sure how it happened. I was using them in the morning then went to use them in the afternoon and the F12 button wou

相关标签:
6条回答
  • 2020-12-08 16:31

    Found another issue with the Dev Tools not opening/ working

    If the Block access to a list of URLs Enabled and "file", "" is in it or file:// is not in the whitlist of url, the DEV Tools wont open either :)

    Maybe that helps someone

    0 讨论(0)
  • 2020-12-08 16:37

    Open regedit (Registry Editor) and find the DeveloperToolsAvailability key by first going to this path:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\
    

    ... then click Chrome and select DeveloperToolsAvailability from the list on the right. Double click it and change it from 2 to either 1 or 0. Click OK and close regedit, then close Chrome and re-open it. Chrome dev tools should now be enabled.

    However, depending on your system, you may instead have the DeveloperToolsDisabled key in that same path. If so, delete that.

    0 讨论(0)
  • 2020-12-08 16:38

    I found it named slightly differently (Win7):

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsDisabled

    I set it to zero and restarted Chrome --> all is well. No idea how it got set.

    Update 5/30/2014: This value was set again, there must be some security policy against this flag where I work. I deleted the key completely and will report back if it appears again.

    Update 6/13/2014: Definitely we've got a security policy that is setting this key daily. As a workaround I've created a file, "fix_developer_options.reg" with the following contents and put it on my Desktop:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
    "DeveloperToolsDisabled"=dword:00000000
    

    This file, when double-clicked, will automatically make this setting in the registry. After that, you need to restart Chrome to get the change. (One step better would be to have this executed when you log in.)

    Update 3/4/2018: In Windows 10 this setting has moved under HKEY_CURRENT_USER as @DGinzberg mentions below in the comments. I found it here on a new computer:

    [HKEY_CURRENT_USER\SOFTWARE\Policies\Google\Chrome]
    
    0 讨论(0)
  • 2020-12-08 16:43

    Delete the DeveloperToolsDisabled registry key in Software\Policies\Chromium\DeveloperToolsDisabled

    http://www.chromium.org/administrators/policy-list-3#DeveloperToolsDisabled

    0 讨论(0)
  • 2020-12-08 16:52

    I just came across a similar issue on my university's website where I could not open the dev tools. Dev tools were opening on other websites in adjacent tabs but not on this site.

    Solution: What worked for me was that I clicked on the address bar of the browser and pressed F12. And it worked. It did not work afterward when I un-selected the address bar and tried again. But worked again when I did it by selecting the address bar.

    Hope it would help someone.

    0 讨论(0)
  • 2020-12-08 16:53

    check policies - type chrome://policy/ in url bar. if DeveloperToolsDisabled is set to true, update the registry entry

    0 讨论(0)
提交回复
热议问题