Log inRegister

Edge extensions - disable developer mode

Load unpacked

  • launch Edge
  • browse to edge://extensions/
  • enable Developer mode
  • click the Load unpacked button
  • browse to the modified extension on your hard disk (you need to select the folder with the version number)
  • the extension is added and shows an Errors button
  • disable the Developer mode and the Errors button disappears
After a week or so, Edge started to spawn warnings, but this can be solved as well.

Hide the 'Disable developer mode extensions' warning

So, the following flyout message appears in Edge.
Disable developer mode extensions

Extensions running in developer mode can harm your computer. If you're not a developer, you should turn off any extensions running in developer mode.

[Disable]

Pack your extension

  • in Edge, browse to edge://extensions/
  • with Developer mode enabled, click on Pack extension
    • browse to the Extension root directory
    • leave the Private key file field emtpy
    • click on Pack extension
  • in the extension root directory, you now find a .crx (the extension) and a .pem file (the private key file)
  • remove the unpacked extension from the edge://extensions/ page and confirm by clicking the Remove button
  • drop your freshly created .crx file in the edge://extensions/ page and click on the Add extension button
  • … This extension may have been corrupted ►

Solve the 'This extension may have been corrupted' message

  • in the file system, edit the the manifest.json file in your extension's root directory
  • look for "update_url" and change the value in any valid URL, e.g. "http://www.google.com"
  • delete the .crx and .pem file and pack your extension again
  • drop the new .crx file in the edge://extensions/ page and click on the Add extension button
  • now the following message appears in the Edge Extensions page: This extension is not from any known source, and may have been added without your knowledge.

Solve the 'This extension is not from any known source...' message

  • copy the ID of the extension that shows this message
  • open the Registry Editor (regedit)
  • go to HKLM\SOFTWARE\Policies\Microsoft
  • create the Key Edge (if it doesn't already exist)
  • within the Edge Key, create a Key !ExtensionInstallAllowlist
    • mind the casing of the word: list has a small 'l' - it's the first time that I had a problem with upper-/lowercase for a Microsoft issue!
  • in that Key, create a new String Value and name it 1
  • double click on that string value and enter the extension's ID as value data
  • close both the Registry Editor and Edge

Solve the 'Unsupported extensions are disabled' message

Launch Edge. Now the following flyout message appears:
Unsupported extensions are disabled

To make Microsoft Edge safer, we disabled the following extension that may have been added without your knowledge.

· Name of your extension

[OK, got it]
  • in Edge, go to edge://policy/
  • go to the Microsoft Edge Policies section and check the following values:
    • Policy Name: !ExtensionInstallAllowList
    • Policy Value: the ID of your extension
    • Status: OK
  • if that's all right, close Edge
  • now open a Command Prompt window as Administrator
  • type gpupdate /force
C:\WINDOWS\system32>gpupdate /force
Updating policy...

Computer Policy update has completed successfully.
User Policy update has completed successfully.

  • wait for the policy updates to complete, then open Edge once more
  • all messages are gone and you're extension has been enabled! (if not, wait some seconds - I suppose the policy updates take some time…)
  • disable Developer mode
That's it!

Sources

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This page was cached on 08 Mar 2024 - 12:03.