Commit 723e5e99 authored by Aral Balkan's avatar Aral Balkan
Browse files

Added rules that selectively block the gstatic domain on non-Google sites and...

Added rules that selectively block the gstatic domain on non-Google sites and only block cookies to it on Google sites so as not to break Google Image search. Closes #230.
parent d7fcffcd
...@@ -24,14 +24,26 @@ ...@@ -24,14 +24,26 @@
in future passes. in future passes.
--> -->
**Block domain** **Block cookies** to gstatic on Google pages. (Not blocking completely on Google properties so as not to break Google Images.) Unfortunately, the if-domain and unless-domain rules require exact matches (e.g., base domain doesn’t match www or any other subdomains) and Google has a metric-doodoo-tonne of domains.
```mson ```mson
- trigger: - trigger:
- url-filter: - url-filter:
- if-domain:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
- load-type: third-party - load-type: third-party
- action: - action:
- type: block - type: block-cookies
Everywhere else, block it outright.
- trigger:
- url-filter:
- unless-domain:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
- load-type: third-party
- action:
- type: block
``` ```
## Prevalence ## Prevalence
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment