Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
List of URL patterns for which developer tools are blocked
Supported versions
- Windows: ≥ 148
- macOS: ≥ 148
- Android: ≥ 156
- iOS: Not supported
Description
This policy specifies URL patterns where developer tools are blocked. For information about the URL format, see https://go.microsoft.com/fwlink/?linkid=2095322.
Developer tools availability is evaluated for each target being inspected. URL patterns are matched against the target's URL, such as a page, a subframe represented by a separate target, an extension, or a web application. Frames that share a target follow that target's policy result.
If you configure this policy and don't configure the DeveloperToolsAvailabilityAllowlist policy, developer tools are blocked for targets whose URLs match a pattern in this blocklist. If a target's URL doesn't match, availability is determined by the DeveloperToolsAvailability policy. For example, a subframe represented by a separate target can't be inspected if its URL matches this blocklist, while the main-page target remains inspectable if its URL isn't blocklisted and the fallback policy allows inspection.
If you configure both this policy and the DeveloperToolsAvailabilityAllowlist policy, the allowlist takes precedence. A target whose URL matches the allowlist is allowed, even if it also matches this policy. A target whose URL matches this policy but not the allowlist is blocked. If a target's URL matches neither list, the DeveloperToolsAvailability policy determines availability.
If you disable or don't configure this policy, developer tools availability is determined by the DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailability policies.
This policy applies to developer tools, direct Chrome DevTools Protocol (CDP) connections (for example, using --remote-debugging-port or --remote-debugging-pipe), and CDP connections through the chrome.debugger extension API. The RemoteDebuggingAllowed policy controls whether remote debugging can start. When remote debugging is allowed, this policy still restricts which targets can be inspected.
This policy supports up to 1,000 entries.
On Android, this policy controls inspection of targets through remote debugging. It does not enable on-device developer tools.
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: DeveloperToolsAvailabilityBlocklist
- GP name: List of URL patterns for which developer tools are blocked
- GP path (Mandatory): Administrative Templates/Microsoft Edge
- GP path (Recommended): N/A
- GP ADMX file name: MSEdge.admx
Example value
https://contoso.com
contoso.com
https://ssl.server.com
contoso.com/bad_path
https://server.contoso.com:8080/path
.exact.hostname.com
*
file://*
Registry settings
- Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist
- Path (Recommended): N/A
- Value name: 1, 2, 3, ...
- Value type: List of REG_SZ
Example registry value
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\1 =
https://contoso.com
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\2 =
contoso.com
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\3 =
https://ssl.server.com
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\4 =
contoso.com/bad_path
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\5 =
https://server.contoso.com:8080/path
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\6 =
.exact.hostname.com
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\7 =
*
SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailabilityBlocklist\8 =
file://*
Mac information and settings
- Preference Key name: DeveloperToolsAvailabilityBlocklist
- Example value:
<array>
<string>https://contoso.com</string>
<string>contoso.com</string>
<string>https://ssl.server.com</string>
<string>contoso.com/bad_path</string>
<string>https://server.contoso.com:8080/path</string>
<string>.exact.hostname.com</string>
<string>*</string>
<string>file://*</string>
</array>
Android information and settings
- Preference Key name: DeveloperToolsAvailabilityBlocklist
- Example value:
["https://contoso.com", "contoso.com", "https://ssl.server.com", "contoso.com/bad_path", "https://server.contoso.com:8080/path", ".exact.hostname.com", "*", "file://*"]