Ind.ie is now Small Technology Foundation.
Commit cc8a8789 authored by Aral Balkan's avatar Aral Balkan

Started on granual block rules for Google.

parent 9b92fbc3
......@@ -24,14 +24,201 @@
in future passes.
-->
**Block domain** google.com
Google is like a cancer on the web – we have to be careful if we’re going to remove it without killing the patient. Attempt to stop it from spying on people without breaking the features that people rely on (maps, etc.) PS. If you stop using Google’s APIs and services and start hosting alternatives yourself and this will become easier in the future. – Ed.
### Block from loading
**Block Google AdSense** (also matches */adsense*)
```mson
google.com/ads
```
```mson
google.com/pagead
```
**Gweb** tracker/analytics/doubleclick
```mson
google.com/js/gweb
```
**Block Google+ platform** ([reference](https://developers.google.com/+/web/api/javascript))
```mson
apis.google.com/js/platform.js
```
```mson
apis.google.com/js/client:platform.js
```
** Block Google +1 button**
```mson
apis.google.com/js/plusone.js
```
```mson
apis.google.com/js/client:plusone.js
```
```mson
apis.google.com/js/rpc:shindig_random.js
```
**Block Google+ widget** ([reference](https://developers.google.com/+/web/badge/))
```mson
apis.google.com/_/widget
```
**Block ‘fast button’**
```mson
apis.google.com/se/0/_/+1/fastbutton
```
**Google Profile button**
```mson
google.com/images/icons/ui/gprofile_button-16.png
```
**Clear dot** tracker
```mson
google.com/images/cleardot.gif
```
### Block cookies
**Google translate**
```mson
- trigger:
- url-filter: translate.google.com
- load-type: third-party
- action:
- type: block-cookies
```
**Google custom search engine**
```mson
- trigger:
- url-filter: cse.google.com
- load-type: third-party
- action:
- type: block-cookies
```
```mson
- trigger:
- url-filter: google.com/jsapi
- load-type: third-party
- action:
- type: block-cookies
```
```mson
- trigger:
- url-filter: google.com/coop
- load-type: third-party
- action:
- type: block-cookies
```
**Google APIs URL**
```mson
- trigger:
- url-filter: google.com/uds
- load-type: third-party
- action:
- type: block-cookies
```
**Google API Client Libraries**
```mson
- trigger:
- url-filter: apis.google.com/js/client.js
- load-type: third-party
- action:
- type: block-cookies
```
**Recaptcha**
```mson
- trigger:
- url-filter: google.com/recaptcha
- load-type: third-party
- action:
- type: block-cookies
```
**Maps**
```mson
- trigger:
- url-filter: google.com/maps
- load-type: third-party
- action:
- type: block-cookies
```
**Charts**
```mson
- trigger:
- url-filter: google.com/chart
- load-type: third-party
- action:
- type: block-cookies
```
**Generate_204** clients1 is where Google Suggestions come from ([reference](http://stackoverflow.com/questions/1989214/google-com-and-clients1-google-com-generate-204))
```mson
- trigger:
- url-filter: clients1.google.com/generate_204
- load-type: third-party
- action:
- type: block-cookies
```
**Google User Content**
```mson
- trigger:
- url-filter: googleusercontent.com
- load-type: third-party
- action:
- type: block-cookies
```
**Google Code**
```mson
- trigger:
- url-filter: googlecode.com
- load-type: third-party
- action:
- type: block-cookies
```
**Google video**
```mson
- trigger:
- url-filter: google.com
- unless-domain: *google.com
- url-filter: video.google.com
- load-type: third-party
- action:
- type: block
- type: block-cookies
```
## Prevalence
......
......@@ -24,10 +24,10 @@
in future passes.
-->
**Block domain** google.se
**Block Google AdSense**
```mson
google.se
google.se/ads
```
## 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