index.md 4.76 KB
Newer Older
Aral Balkan's avatar
Aral Balkan committed
1
# **Google AdSense** by Google (google.com)
2

3
> “Google AdSense is a program run by Google that allows publishers in the Google Network of content sites to serve automatic text, image, video, or interactive media advertisements, that are targeted to site content and audience.” – [Source](https://en.wikipedia.org/wiki/AdSense)
4
5
6

## Ethical design violations

7
8
(Learn more about [Ethical Design](https://ind.ie/ethical-design).)

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  * Tracker

<!-- Other ethical design violation badges go here. Valid ones are:
  * Aggressive
  * Doorslam
  * Clickbait
  * Fingerprint
  * Web bug
-->

## Block rule

<!--
	The original block rule is automatically generated by Better Inspector.
	If you want to edit it, you may. The Inspector will not touch your edits
	in future passes.
-->

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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
```

95
96
97
98
99
100
101
102
103
104
105
**Maps**

Thank you for the ‘free’ maps, Google – although surely when you say they’re free, you mean free and not ‘in exchange for data’ or anything naughty like that, so you must have left these calls back to the mothership in there by mistake. Don’t worry, we blocked them for you ;) – Ed.

```mson
maps.googleapis.com/maps/api/js/QuotaService.RecordEvent
```

```mson
maps.googleapis.com/maps-api-v3/api/js/25/5/stats.js
```
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225

### 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**
226
227
228

```mson
- trigger:
229
230
  - url-filter: video.google.com
  - load-type: third-party
231
- action:
232
  - type: block-cookies
233
234
```

235
## Prevalence
236

237
<!-- prevalence -->
Aral Balkan's avatar
Aral Balkan committed
238
**Pandemic:** found on 42.9% of surveyed sites (2565 instances observed).
239
<!-- /prevalence -->
240
241
242


## Notes
243
  * “Cookies may be set from a few different domains, including google.com, doubleclick.net, invitemedia.com, admeld.com, googlesyndication.com, or googleadservices.com.” [Source](https://www.google.com/intl/en/policies/technologies/ads/)