Skip to content

Commit

Permalink
win: fix disabling Copilot & doc r.bing.com #239
Browse files Browse the repository at this point in the history
`r.bing.com` is used by multiple Windows features including Copilot and
Maps. privacy.sexy was disabling this host as part of disabling Cortana
and Live Hosts which was causing unexpected behavior with Copilot users
(see #239). This commit excludes disabling of r.bing.com due to its
cross-cutting usage and documents the reasoning, resolving #239.
  • Loading branch information
undergroundwires committed Apr 26, 2024
1 parent 13c19ae commit 219c773
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions src/application/collections/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7205,7 +7205,7 @@ actions:
domain: location-inference-westus.cloudapp.net
-
name: Block maps data and updates hosts
recommend: strict
recommend: strict # refactor-with-variables: Same excluded host: `r.bing.com`
docs: |-
This script blocks connections to servers updating offline maps [1] [2] and Bing Maps APIs [3] [4] [5],
responsible for geospatial [3] and location [4] [5] services.
Expand All @@ -7218,16 +7218,26 @@ actions:
The blocked hosts are:

- `maps.windows.com` [1] [2]
- `dev.virtualearth.net` [2] [4]
- `dev.virtualearth.net` [2] [4] [6]
- `ecn.dev.virtualearth.net` [1] [2] [3]
- `ecn-us.dev.virtualearth.net` [1]
- `ecn-us.dev.virtualearth.net` [1] [6]
- `weathermapdata.blob.core.windows.net` [1]

The excluded (not blocked) hosts are:

- `r.bing.com`: Blocking it impacts multiple features such as Cortana and Live Tiles [1] [2], Copilot [7] [8] [9] and Bing Maps [6] [10] [11].

[1]: https://web.archive.org/web/20240217185904/https://learn.microsoft.com/en-us/windows/privacy/manage-windows-11-endpoints "Connection endpoints for Windows 11 Enterprise - Windows Privacy | Microsoft Learn | learn.microsoft.com"
[2]: https://web.archive.org/web/20240217185950/https://learn.microsoft.com/en-us/windows/privacy/windows-11-endpoints-non-enterprise-editions "Windows 11 connection endpoints for non-Enterprise editions - Windows Privacy | Microsoft Learn | learn.microsoft.com"
[3]: https://web.archive.org/web/20240217220311/https://learn.microsoft.com/en-us/bingmaps/articles/geospatial-endpoint-service "Geospatial Endpoint Service - Bing Maps | Microsoft Learn | learn.microsoft.com"
[4]: https://web.archive.org/web/20240217220300/https://learn.microsoft.com/en-us/bingmaps/rest-services/locations/find-a-location-by-address "Find a Location by Address - Bing Maps | Microsoft Learn | learn.microsoft.com"
[5]: https://web.archive.org/web/20240217220332/https://learn.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/base-url-structure "Bing Maps REST URL Structure - Bing Maps | Microsoft Learn | learn.microsoft.com"
[6]: https://web.archive.org/web/20240426134902/https://learn.microsoft.com/en-us/fabric/security/power-bi-allow-list-urls "Add Power BI URLs to allowlist - Microsoft Fabric | Microsoft Learn | learn.microsoft.com"
[7]: https://web.archive.org/web/20240426133944/https://github.com/undergroundwires/privacy.sexy/issues/329#issuecomment-2062563970 "[BUG]: Bing (search engine) is broken · Issue #329 · undergroundwires/privacy.sexy"
[8]: https://archive.ph/2024.04.26-134254/https://github.com/privacysexy-forks/ios_rule_script/blob/f0ec2a3c74940ba7f54557439f943a2359e9f792/rule/Clash/Copilot/Copilot.yaml "ios_rule_script/rule/Clash/Copilot/Copilot.yaml at f0ec2a3c74940ba7f54557439f943a2359e9f792 · privacysexy-forks/ios_rule_script | github.com"
[9]: https://web.archive.org/web/20240426134112/https://urlscan.io/result/5c8c89a7-4d4a-4030-8bf2-381fded08b51#transactions "copilot.microsoft.com - urlscan.io | urlscan.io"
[10]: https://web.archive.org/web/20240426134243/https://stackoverflow.com/questions/73457359/how-do-i-catch-an-error-due-to-wrong-latitude-or-longitude-in-bing-maps-v8-web-c "javascript - How do I catch an error due to wrong latitude or longitude in Bing Maps V8 Web Control? - Stack Overflow | stackoverflow.com"
[11]: https://web.archive.org/web/20240426134404/https://answers.microsoft.com/en-us/bing/forum/all/bing-maps-not-working-in-edge-or-chrome/55092382-e1a0-466c-ac83-f5ff25eacff1 "Bing maps not working in Edge or Chrome - Microsoft Community | answers.microsoft.com"
call:
-
function: BlockViaHostsFile
Expand Down Expand Up @@ -7258,7 +7268,7 @@ actions:
By blocking these hosts, the script effectively prevents Windows Spotlight from downloading new lock screen
images, app suggestions, account notifications, and tips [1] [2] [3].
It improves your privacy by reducing unsolicited content and potential data collection.

> **Caution:** While Spotlight attempts to update content, suggested apps,
Microsoft account notifications, and Windows tips won't be downloaded once the script is in place [1] [3].

Expand Down Expand Up @@ -7336,7 +7346,7 @@ actions:
domain: query.prod.cms.rt.microsoft.com
-
name: Block Cortana and Live Tiles hosts
recommend: strict
recommend: strict # refactor-with-variables: Same excluded host: `r.bing.com`
docs: |-
This script blocks specific hosts related to Cortana and Live Tiles, enhancing your privacy by stopping
updates to Cortana greetings, tips, and Live Tiles [1].
Expand All @@ -7353,7 +7363,6 @@ actions:
- `s-ring.msedge.net` [1] [2]
- `dual-s-ring.msedge.net` [1]
- `creativecdn.com` [1]
- `r.bing.com` [1] [2]
- `a-ring-fallback.msedge.net` [1]
- `fp-afd-nocache-ccp.azureedge.net` [1]
- `prod-azurecdn-akamai-iris.azureedge.net` [1] [2]
Expand All @@ -7365,8 +7374,18 @@ actions:
- `t-ring-fdv2.msedge.net` [2]
- `tse1.mm.bing.net` [2]

The excluded (not blocked) hosts are:

- `r.bing.com`: Blocking it impacts multiple features such as Cortana and Live Tiles [1] [2], Copilot [3] [4] [5] and Bing Maps [6] [7] [8].

[1]: https://web.archive.org/web/20240217185904/https://learn.microsoft.com/en-us/windows/privacy/manage-windows-11-endpoints "Connection endpoints for Windows 11 Enterprise - Windows Privacy | Microsoft Learn | learn.microsoft.com"
[2]: https://web.archive.org/web/20240217185950/https://learn.microsoft.com/en-us/windows/privacy/windows-11-endpoints-non-enterprise-editions "Windows 11 connection endpoints for non-Enterprise editions - Windows Privacy | Microsoft Learn | learn.microsoft.com"
[3]: https://web.archive.org/web/20240426133944/https://github.com/undergroundwires/privacy.sexy/issues/329#issuecomment-2062563970 "[BUG]: Bing (search engine) is broken · Issue #329 · undergroundwires/privacy.sexy"
[4]: https://archive.ph/2024.04.26-134254/https://github.com/privacysexy-forks/ios_rule_script/blob/f0ec2a3c74940ba7f54557439f943a2359e9f792/rule/Clash/Copilot/Copilot.yaml "ios_rule_script/rule/Clash/Copilot/Copilot.yaml at f0ec2a3c74940ba7f54557439f943a2359e9f792 · privacysexy-forks/ios_rule_script | github.com" "ios_rule_script/rule/Clash/Copilot/Copilot.yaml at f0ec2a3c74940ba7f54557439f943a2359e9f792 · privacysexy-forks/ios_rule_script | github.com"
[5]: https://web.archive.org/web/20240426134112/https://urlscan.io/result/5c8c89a7-4d4a-4030-8bf2-381fded08b51#transactions "copilot.microsoft.com - urlscan.io | urlscan.io"
[6]: https://web.archive.org/web/20240426134902/https://learn.microsoft.com/en-us/fabric/security/power-bi-allow-list-urls "Add Power BI URLs to allowlist - Microsoft Fabric | Microsoft Learn | learn.microsoft.com"
[7]: https://web.archive.org/web/20240426134243/https://stackoverflow.com/questions/73457359/how-do-i-catch-an-error-due-to-wrong-latitude-or-longitude-in-bing-maps-v8-web-c "javascript - How do I catch an error due to wrong latitude or longitude in Bing Maps V8 Web Control? - Stack Overflow | stackoverflow.com"
[8]: https://web.archive.org/web/20240426134404/https://answers.microsoft.com/en-us/bing/forum/all/bing-maps-not-working-in-edge-or-chrome/55092382-e1a0-466c-ac83-f5ff25eacff1 "Bing maps not working in Edge or Chrome - Microsoft Community | answers.microsoft.com"
call:
-
function: BlockViaHostsFile
Expand Down Expand Up @@ -7408,10 +7427,6 @@ actions:
function: BlockViaHostsFile
parameters:
domain: creativecdn.com
-
function: BlockViaHostsFile
parameters:
domain: r.bing.com
-
function: BlockViaHostsFile
parameters:
Expand Down

0 comments on commit 219c773

Please sign in to comment.