-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Labels
timebombSomething's going to break on a specific daySomething's going to break on a specific day
Milestone
Description
Since Chrome 139 to suppress a pop-up to Chrom(ium) users:
https://chromeenterprise.google/policies/#LocalNetworkAccessAllowedForUrls
- Currently, this only applies to HTTP/HTTPS requests, WS/WSS requests haven't been added to the specification
- NOTE: This supersedes Add Access-Control-Request-Private-Network #1236
This makes most sense for localhost, since any other DNS names would imply that the browser's running elsewhere.
See also: WICG/local-network-access#16
To test:
- Visit chrome://settings/performance
- Select "Enable (Blocking)"

- Restart the browser
- Visit https://demo.qz.io
- Paste the following code into terminal:
fetch('http://localhost:8182/json') .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error));
Policy Examples
Windows Registry
Software\Policies\Google\Chrome\LocalNetworkAccessAllowedForUrls\1 = http://www.example.com:8080
Software\Policies\Google\Chrome\LocalNetworkAccessAllowedForUrls\2 = [*.]example.edu
Software\Policies\Google\Chrome\LocalNetworkAccessAllowedForUrls\3 = *macOS Plist
<array>
<string>http://www.example.com:8080</string>
<string>[*.]example.edu</string>
<string>*</string>
</array>Linux JSON
[
"http://www.example.com:8080",
"[*.]example.edu",
"*"
]Metadata
Metadata
Assignees
Labels
timebombSomething's going to break on a specific daySomething's going to break on a specific day