Ouvrir dans l'explorateur

List of URL patterns for which Chrome DevTools are blocked

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Brave Software › Brave Configuration utilisateur › Stratégies › Modèles d'administration › Brave Software › Brave EN : Computer Configuration › Policies › Administrative Templates › Brave Software › BraveEN : User Configuration › Policies › Administrative Templates › Brave Software › Brave
Pris en charge sur
Microsoft Windows 7 or later
Fichier ADMX
brave.admx
Nom interne
brave/DeveloperToolsAvailabilityBlocklist

Explication

This policy can be used to block Chrome DevTools on specific URLs. For information on the URL format, see https://support.google.com/chrome/a?p=url_blocklist_filter_format.

Chrome DevTools availability is evaluated at the target level. URL patterns are matched against the URL of each target being inspected (such as the main frame of a page, an embedded subframe, an extension, or a web application). The resulting behavior depends on whether the DeveloperToolsAvailabilityAllowlist policy is also set.

If this policy is set and DeveloperToolsAvailabilityAllowlist is not, a target's URL matching a pattern on this blocklist will block Chrome DevTools for that target (for example, a subframe whose URL matches this blocklist cannot be inspected, but the main page remains inspectable if its URL is not blocklisted). If a target's URL does not match any pattern, the availability is determined by the DeveloperToolsAvailability policy.

If both this and the DeveloperToolsAvailabilityAllowlist policies are set, the allowlist takes precedence. If a target's URL matches a pattern on the allowlist, it will be allowed, even if it also matches a pattern in this blocklist. If a target's URL matches a pattern on this blocklist (but not the allowlist), it will be blocked. If a target's URL matches neither, the DeveloperToolsAvailability policy will be used as a fallback.

If this policy is not set, the availability of Chrome DevTools is determined by the DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailability policies.

This policy affects Chrome DevTools, direct Chrome DevTools Protocol (CDP) access (for instance, when launched with --remote-debugging-port or --remote-debugging-pipe), and Chrome DevTools Protocol (CDP) access via chrome.debugger APIs. Both this policy and the RemoteDebuggingAllowed policy apply: RemoteDebuggingAllowed controls whether remote debugging can start, while this policy restricts whether individual targets can be inspected even when remote debugging is running.

This policy is limited to 1,000 entries.

Example value:

https://example.com
example.com
https://ssl.server.com
hosting.com/bad_path
https://server:8080/path
.exact.hostname.com
*
file://*

Registre

HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave
HKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Ordinateur (HKLM)

Activer

# Activer : brave/DeveloperToolsAvailabilityBlocklist
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave\DeveloperToolsAvailabilityBlocklist'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# List of URL patterns for which Chrome DevTools are blocked
# Liste non additive : les valeurs existantes de la clé sont d'abord effacées
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<valeur1>', '<valeur2>')  # Remplacez les valeurs par les vôtres
$i = 1
foreach ($v in $values) { Set-ItemProperty -Path $k -Name ('' + $i) -Value $v -Type String; $i++ }

Désactiver

# Désactiver : brave/DeveloperToolsAvailabilityBlocklist
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : brave/DeveloperToolsAvailabilityBlocklist
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave\DeveloperToolsAvailabilityBlocklist'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
List of URL patterns for which Chrome DevTools are blockedDeveloperToolsAvailabilityBlocklistDescListe (tableau)listSoftware\Policies\BraveSoftware\Brave\DeveloperToolsAvailabilityBlocklistValeurs nommées « » + n°REG_SZ (valeurs sous la clé)

Application

Brave (Brave Software) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.