Share via


DeveloperToolsAvailabilityAllowlist

List of URL patterns for which developer tools are allowed to be opened

Supported versions

  • Windows: ≥ 148
  • macOS: ≥ 148
  • Android: Not supported
  • iOS: Not supported

Description

This policy controls where developer tools can be used in Microsoft Edge by specifying an allowlist of URL patterns.

URL patterns are matched against the URL of every frame on the page being inspected.

If you configure this policy and do not configure the DeveloperToolsAvailabilityBlocklist policy, developer tools are available only when every frame on the page matches a pattern in this allowlist. If any frame does not match, developer tools are blocked for the entire page. For information on the URL format, see https://go.microsoft.com/fwlink/?linkid=2095322 .

If you configure both this policy and the DeveloperToolsAvailabilityBlocklist policy, this allowlist takes precedence. URLs that match this allowlist are allowed even if they also match the blocklist. URLs that match the blocklist but not this allowlist are blocked. URLs that match neither are governed by the DeveloperToolsAvailability policy.

If you disable or do not configure this policy, developer tools availability is determined by the DeveloperToolsAvailabilityBlocklist and DeveloperToolsAvailability policies.

This policy applies to developer tools opened for websites, extensions, and web applications.

This policy supports up to 1,000 entries.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • List of strings

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DeveloperToolsAvailabilityAllowlist
  • GP name: List of URL patterns for which developer tools are allowed to be opened
  • GP path (Mandatory): Administrative Templates/Microsoft Edge
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

contoso.com
https://ssl.server.com
contoso.com/good_path
https://server.contoso.com:8080/path
.exact.hostname.com
file://*

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist
  • Path (Recommended): N/A
  • Value name: 1, 2, 3, ...
  • Value type: List of REG_SZ

Example registry value

SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist\1 =

contoso.com

SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist\2 =

https://ssl.server.com

SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist\3 =

contoso.com/good_path

SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist\4 =

https://server.contoso.com:8080/path

SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist\5 =

.exact.hostname.com

SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityAllowlist\6 =

file://*

Mac information and settings

  • Preference Key name: DeveloperToolsAvailabilityAllowlist
  • Example value:
<array>
  <string>contoso.com</string>
  <string>https://ssl.server.com</string>
  <string>contoso.com/good_path</string>
  <string>https://server.contoso.com:8080/path</string>
  <string>.exact.hostname.com</string>
  <string>file://*</string>
</array>

See also