Microsoft Edge Extension Policy-setting Configuration and StorageArea.get() API Call

David Luong 0 Reputation points
2023-12-11T23:29:07.76+00:00

Is there any documentation on how Edge refers to policies for extensions? I am trying to deploy the UBlock Origin Lite extension across all Windows systems in the environment and pre-emptively disable the dashboard from displaying. The plan is to use GPO to deploy the extension, and have a registry entry in place named "disableFirstRunPage" DWORD = 1 at the location "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Edge\Extensions\ddkjiahejlhfcafbddmgiahcphecmpfh\Policy". However, the extension developer has stated that there might not be proper implementation of the extension policy in Edge. Could someone provide some guidance on how to pull extension policy correctly?

Here's the link to the original discussion: https://github.com/uBlockOrigin/uBOL-home/discussions/61

Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Edge | Microsoft Edge development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Raina Zhao - MSFT 2,875 Reputation points Microsoft External Staff
    2023-12-12T09:39:33.2566667+00:00

    Hi @David Luong ,

    The available policy fields are described in the Detailed guide to the ExtensionSettings policy:
    allowed_types,blocked_install_message,blocked_permissions,installation_mode...

    The Microsoft Edge does support the use of browser.storage.managed API according to the https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/managed#browser_compatibility.

    Because the "disableFirstRunPage" is a custom policy, based on my research, you could try the following path using registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\3rdparty\extensions\[ExtensionID]\policy. It works on my side.
    Capture


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Raina Zhao


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.