├── .gitignore
├── _locales
└── en
│ └── messages.json
├── SS1.PNG
├── SS2.PNG
├── main_icon.png
├── icon_128x128.PNG
├── icon_440x280.png
├── removeAd.js
├── popup.html
├── README.md
├── LICENSE
└── manifest.json
/.gitignore:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/_locales/en/messages.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | }
--------------------------------------------------------------------------------
/SS1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/e-gautier/AdBlockGoogle/HEAD/SS1.PNG
--------------------------------------------------------------------------------
/SS2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/e-gautier/AdBlockGoogle/HEAD/SS2.PNG
--------------------------------------------------------------------------------
/main_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/e-gautier/AdBlockGoogle/HEAD/main_icon.png
--------------------------------------------------------------------------------
/icon_128x128.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/e-gautier/AdBlockGoogle/HEAD/icon_128x128.PNG
--------------------------------------------------------------------------------
/icon_440x280.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/e-gautier/AdBlockGoogle/HEAD/icon_440x280.png
--------------------------------------------------------------------------------
/removeAd.js:
--------------------------------------------------------------------------------
1 | if (document.contains(document.getElementById("tads"))) {
2 | document.getElementById("tads").remove();
3 | }
4 |
--------------------------------------------------------------------------------
/popup.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Github
11 |
12 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # AdBlockGoogle
2 | Chrome extension that remove Google ads in your research results.
3 |
4 | ## What we get
5 | 
6 | 
7 |
8 | ## How it works
9 | The extension simply remove the ads elements when the DOM is loaded.
10 |
11 | ## Install
12 | ### Chrome web store
13 | https://chrome.google.com/webstore/detail/adblockgoogle/imofnfnbggjihebhjknmahgihnljpkkl
14 | ### Firefox addon
15 | https://addons.mozilla.org/en-US/firefox/addon/adblockgoogle
16 | ### From sources
17 | 1. Download the sources.
18 | 2. In Chrome go to **More tools** then **Extensions**.
19 | 3. Click on **Load unpacked extension...**
20 | 4. Select the sources folder.
21 |
22 | ## Contribution
23 | Feel free to contribute as you can.
24 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 e-gautier
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "manifest_version": 2,
3 | "name": "AdBlockGoogle",
4 | "version": "1.2.1",
5 | "default_locale": "en",
6 | "description": "Remove ads from Google.",
7 | "icons": {
8 | "64": "main_icon.png"
9 | },
10 | "browser_action": {
11 | "default_title": "Remove Google Ad",
12 | "default_popup": "popup.html"
13 | },
14 | "content_scripts": [
15 | {
16 | "_comment": "Wildcard are not allowed on TLD... :(",
17 | "matches": [
18 | "http://www.google.com/search*",
19 | "https://www.google.com/search*",
20 | "http://www.google.ad/search*",
21 | "https://www.google.ad/search*",
22 | "http://www.google.ae/search*",
23 | "https://www.google.ae/search*",
24 | "http://www.google.com.af/search*",
25 | "https://www.google.com.af/search*",
26 | "http://www.google.com.ag/search*",
27 | "https://www.google.com.ag/search*",
28 | "http://www.google.com.ai/search*",
29 | "https://www.google.com.ai/search*",
30 | "http://www.google.am/search*",
31 | "https://www.google.am/search*",
32 | "http://www.google.co.ao/search*",
33 | "https://www.google.co.ao/search*",
34 | "http://www.google.com.ar/search*",
35 | "https://www.google.com.ar/search*",
36 | "http://www.google.as/search*",
37 | "https://www.google.as/search*",
38 | "http://www.google.at/search*",
39 | "https://www.google.at/search*",
40 | "http://www.google.com.au/search*",
41 | "https://www.google.com.au/search*",
42 | "http://www.google.az/search*",
43 | "https://www.google.az/search*",
44 | "http://www.google.ba/search*",
45 | "https://www.google.ba/search*",
46 | "http://www.google.com.bd/search*",
47 | "https://www.google.com.bd/search*",
48 | "http://www.google.be/search*",
49 | "https://www.google.be/search*",
50 | "http://www.google.bf/search*",
51 | "https://www.google.bf/search*",
52 | "http://www.google.bg/search*",
53 | "https://www.google.bg/search*",
54 | "http://www.google.com.bh/search*",
55 | "https://www.google.com.bh/search*",
56 | "http://www.google.bi/search*",
57 | "https://www.google.bi/search*",
58 | "http://www.google.bj/search*",
59 | "https://www.google.bj/search*",
60 | "http://www.google.com.bn/search*",
61 | "https://www.google.com.bn/search*",
62 | "http://www.google.com.bo/search*",
63 | "https://www.google.com.bo/search*",
64 | "http://www.google.com.br/search*",
65 | "https://www.google.com.br/search*",
66 | "http://www.google.bs/search*",
67 | "https://www.google.bs/search*",
68 | "http://www.google.co.bw/search*",
69 | "https://www.google.co.bw/search*",
70 | "http://www.google.by/search*",
71 | "https://www.google.by/search*",
72 | "http://www.google.com.bz/search*",
73 | "https://www.google.com.bz/search*",
74 | "http://www.google.ca/search*",
75 | "https://www.google.ca/search*",
76 | "http://www.google.cd/search*",
77 | "https://www.google.cd/search*",
78 | "http://www.google.cf/search*",
79 | "https://www.google.cf/search*",
80 | "http://www.google.cg/search*",
81 | "https://www.google.cg/search*",
82 | "http://www.google.ch/search*",
83 | "https://www.google.ch/search*",
84 | "http://www.google.ci/search*",
85 | "https://www.google.ci/search*",
86 | "http://www.google.co.ck/search*",
87 | "https://www.google.co.ck/search*",
88 | "http://www.google.cl/search*",
89 | "https://www.google.cl/search*",
90 | "http://www.google.cm/search*",
91 | "https://www.google.cm/search*",
92 | "http://www.google.cn/search*",
93 | "https://www.google.cn/search*",
94 | "http://www.google.com.co/search*",
95 | "https://www.google.com.co/search*",
96 | "http://www.google.co.cr/search*",
97 | "https://www.google.co.cr/search*",
98 | "http://www.google.com.cu/search*",
99 | "https://www.google.com.cu/search*",
100 | "http://www.google.cv/search*",
101 | "https://www.google.cv/search*",
102 | "http://www.google.com.cy/search*",
103 | "https://www.google.com.cy/search*",
104 | "http://www.google.cz/search*",
105 | "https://www.google.cz/search*",
106 | "http://www.google.de/search*",
107 | "https://www.google.de/search*",
108 | "http://www.google.dj/search*",
109 | "https://www.google.dj/search*",
110 | "http://www.google.dk/search*",
111 | "https://www.google.dk/search*",
112 | "http://www.google.dm/search*",
113 | "https://www.google.dm/search*",
114 | "http://www.google.com.do/search*",
115 | "https://www.google.com.do/search*",
116 | "http://www.google.dz/search*",
117 | "https://www.google.dz/search*",
118 | "http://www.google.com.ec/search*",
119 | "https://www.google.com.ec/search*",
120 | "http://www.google.ee/search*",
121 | "https://www.google.ee/search*",
122 | "http://www.google.com.eg/search*",
123 | "https://www.google.com.eg/search*",
124 | "http://www.google.es/search*",
125 | "https://www.google.es/search*",
126 | "http://www.google.com.et/search*",
127 | "https://www.google.com.et/search*",
128 | "http://www.google.fi/search*",
129 | "https://www.google.fi/search*",
130 | "http://www.google.com.fj/search*",
131 | "https://www.google.com.fj/search*",
132 | "http://www.google.fm/search*",
133 | "https://www.google.fm/search*",
134 | "http://www.google.fr/search*",
135 | "https://www.google.fr/search*",
136 | "http://www.google.ga/search*",
137 | "https://www.google.ga/search*",
138 | "http://www.google.ge/search*",
139 | "https://www.google.ge/search*",
140 | "http://www.google.gg/search*",
141 | "https://www.google.gg/search*",
142 | "http://www.google.com.gh/search*",
143 | "https://www.google.com.gh/search*",
144 | "http://www.google.com.gi/search*",
145 | "https://www.google.com.gi/search*",
146 | "http://www.google.gl/search*",
147 | "https://www.google.gl/search*",
148 | "http://www.google.gm/search*",
149 | "https://www.google.gm/search*",
150 | "http://www.google.gp/search*",
151 | "https://www.google.gp/search*",
152 | "http://www.google.gr/search*",
153 | "https://www.google.gr/search*",
154 | "http://www.google.com.gt/search*",
155 | "https://www.google.com.gt/search*",
156 | "http://www.google.gy/search*",
157 | "https://www.google.gy/search*",
158 | "http://www.google.com.hk/search*",
159 | "https://www.google.com.hk/search*",
160 | "http://www.google.hn/search*",
161 | "https://www.google.hn/search*",
162 | "http://www.google.hr/search*",
163 | "https://www.google.hr/search*",
164 | "http://www.google.ht/search*",
165 | "https://www.google.ht/search*",
166 | "http://www.google.hu/search*",
167 | "https://www.google.hu/search*",
168 | "http://www.google.co.id/search*",
169 | "https://www.google.co.id/search*",
170 | "http://www.google.ie/search*",
171 | "https://www.google.ie/search*",
172 | "http://www.google.co.il/search*",
173 | "https://www.google.co.il/search*",
174 | "http://www.google.im/search*",
175 | "https://www.google.im/search*",
176 | "http://www.google.co.in/search*",
177 | "https://www.google.co.in/search*",
178 | "http://www.google.iq/search*",
179 | "https://www.google.iq/search*",
180 | "http://www.google.is/search*",
181 | "https://www.google.is/search*",
182 | "http://www.google.it/search*",
183 | "https://www.google.it/search*",
184 | "http://www.google.je/search*",
185 | "https://www.google.je/search*",
186 | "http://www.google.com.jm/search*",
187 | "https://www.google.com.jm/search*",
188 | "http://www.google.jo/search*",
189 | "https://www.google.jo/search*",
190 | "http://www.google.co.jp/search*",
191 | "https://www.google.co.jp/search*",
192 | "http://www.google.co.ke/search*",
193 | "https://www.google.co.ke/search*",
194 | "http://www.google.com.kh/search*",
195 | "https://www.google.com.kh/search*",
196 | "http://www.google.ki/search*",
197 | "https://www.google.ki/search*",
198 | "http://www.google.kg/search*",
199 | "https://www.google.kg/search*",
200 | "http://www.google.co.kr/search*",
201 | "https://www.google.co.kr/search*",
202 | "http://www.google.com.kw/search*",
203 | "https://www.google.com.kw/search*",
204 | "http://www.google.kz/search*",
205 | "https://www.google.kz/search*",
206 | "http://www.google.la/search*",
207 | "https://www.google.la/search*",
208 | "http://www.google.com.lb/search*",
209 | "https://www.google.com.lb/search*",
210 | "http://www.google.li/search*",
211 | "https://www.google.li/search*",
212 | "http://www.google.lk/search*",
213 | "https://www.google.lk/search*",
214 | "http://www.google.co.ls/search*",
215 | "https://www.google.co.ls/search*",
216 | "http://www.google.lt/search*",
217 | "https://www.google.lt/search*",
218 | "http://www.google.lu/search*",
219 | "https://www.google.lu/search*",
220 | "http://www.google.lv/search*",
221 | "https://www.google.lv/search*",
222 | "http://www.google.com.ly/search*",
223 | "https://www.google.com.ly/search*",
224 | "http://www.google.co.ma/search*",
225 | "https://www.google.co.ma/search*",
226 | "http://www.google.md/search*",
227 | "https://www.google.md/search*",
228 | "http://www.google.me/search*",
229 | "https://www.google.me/search*",
230 | "http://www.google.mg/search*",
231 | "https://www.google.mg/search*",
232 | "http://www.google.mk/search*",
233 | "https://www.google.mk/search*",
234 | "http://www.google.ml/search*",
235 | "https://www.google.ml/search*",
236 | "http://www.google.mn/search*",
237 | "https://www.google.mn/search*",
238 | "http://www.google.ms/search*",
239 | "https://www.google.ms/search*",
240 | "http://www.google.com.mt/search*",
241 | "https://www.google.com.mt/search*",
242 | "http://www.google.mu/search*",
243 | "https://www.google.mu/search*",
244 | "http://www.google.mv/search*",
245 | "https://www.google.mv/search*",
246 | "http://www.google.mw/search*",
247 | "https://www.google.mw/search*",
248 | "http://www.google.com.mx/search*",
249 | "https://www.google.com.mx/search*",
250 | "http://www.google.com.my/search*",
251 | "https://www.google.com.my/search*",
252 | "http://www.google.co.mz/search*",
253 | "https://www.google.co.mz/search*",
254 | "http://www.google.com.na/search*",
255 | "https://www.google.com.na/search*",
256 | "http://www.google.com.nf/search*",
257 | "https://www.google.com.nf/search*",
258 | "http://www.google.com.ng/search*",
259 | "https://www.google.com.ng/search*",
260 | "http://www.google.com.ni/search*",
261 | "https://www.google.com.ni/search*",
262 | "http://www.google.ne/search*",
263 | "https://www.google.ne/search*",
264 | "http://www.google.nl/search*",
265 | "https://www.google.nl/search*",
266 | "http://www.google.no/search*",
267 | "https://www.google.no/search*",
268 | "http://www.google.com.np/search*",
269 | "https://www.google.com.np/search*",
270 | "http://www.google.nr/search*",
271 | "https://www.google.nr/search*",
272 | "http://www.google.nu/search*",
273 | "https://www.google.nu/search*",
274 | "http://www.google.co.nz/search*",
275 | "https://www.google.co.nz/search*",
276 | "http://www.google.com.om/search*",
277 | "https://www.google.com.om/search*",
278 | "http://www.google.com.pa/search*",
279 | "https://www.google.com.pa/search*",
280 | "http://www.google.com.pe/search*",
281 | "https://www.google.com.pe/search*",
282 | "http://www.google.com.ph/search*",
283 | "https://www.google.com.ph/search*",
284 | "http://www.google.com.pk/search*",
285 | "https://www.google.com.pk/search*",
286 | "http://www.google.pl/search*",
287 | "https://www.google.pl/search*",
288 | "http://www.google.pn/search*",
289 | "https://www.google.pn/search*",
290 | "http://www.google.com.pr/search*",
291 | "https://www.google.com.pr/search*",
292 | "http://www.google.ps/search*",
293 | "https://www.google.ps/search*",
294 | "http://www.google.pt/search*",
295 | "https://www.google.pt/search*",
296 | "http://www.google.com.py/search*",
297 | "https://www.google.com.py/search*",
298 | "http://www.google.com.qa/search*",
299 | "https://www.google.com.qa/search*",
300 | "http://www.google.ro/search*",
301 | "https://www.google.ro/search*",
302 | "http://www.google.ru/search*",
303 | "https://www.google.ru/search*",
304 | "http://www.google.rw/search*",
305 | "https://www.google.rw/search*",
306 | "http://www.google.com.sa/search*",
307 | "https://www.google.com.sa/search*",
308 | "http://www.google.com.sb/search*",
309 | "https://www.google.com.sb/search*",
310 | "http://www.google.sc/search*",
311 | "https://www.google.sc/search*",
312 | "http://www.google.se/search*",
313 | "https://www.google.se/search*",
314 | "http://www.google.com.sg/search*",
315 | "https://www.google.com.sg/search*",
316 | "http://www.google.sh/search*",
317 | "https://www.google.sh/search*",
318 | "http://www.google.si/search*",
319 | "https://www.google.si/search*",
320 | "http://www.google.sk/search*",
321 | "https://www.google.sk/search*",
322 | "http://www.google.com.sl/search*",
323 | "https://www.google.com.sl/search*",
324 | "http://www.google.sn/search*",
325 | "https://www.google.sn/search*",
326 | "http://www.google.so/search*",
327 | "https://www.google.so/search*",
328 | "http://www.google.sm/search*",
329 | "https://www.google.sm/search*",
330 | "http://www.google.st/search*",
331 | "https://www.google.st/search*",
332 | "http://www.google.com.sv/search*",
333 | "https://www.google.com.sv/search*",
334 | "http://www.google.td/search*",
335 | "https://www.google.td/search*",
336 | "http://www.google.tg/search*",
337 | "https://www.google.tg/search*",
338 | "http://www.google.co.th/search*",
339 | "https://www.google.co.th/search*",
340 | "http://www.google.com.tj/search*",
341 | "https://www.google.com.tj/search*",
342 | "http://www.google.tk/search*",
343 | "https://www.google.tk/search*",
344 | "http://www.google.tl/search*",
345 | "https://www.google.tl/search*",
346 | "http://www.google.tm/search*",
347 | "https://www.google.tm/search*",
348 | "http://www.google.tn/search*",
349 | "https://www.google.tn/search*",
350 | "http://www.google.to/search*",
351 | "https://www.google.to/search*",
352 | "http://www.google.com.tr/search*",
353 | "https://www.google.com.tr/search*",
354 | "http://www.google.tt/search*",
355 | "https://www.google.tt/search*",
356 | "http://www.google.com.tw/search*",
357 | "https://www.google.com.tw/search*",
358 | "http://www.google.co.tz/search*",
359 | "https://www.google.co.tz/search*",
360 | "http://www.google.com.ua/search*",
361 | "https://www.google.com.ua/search*",
362 | "http://www.google.co.ug/search*",
363 | "https://www.google.co.ug/search*",
364 | "http://www.google.co.uk/search*",
365 | "https://www.google.co.uk/search*",
366 | "http://www.google.com.uy/search*",
367 | "https://www.google.com.uy/search*",
368 | "http://www.google.co.uz/search*",
369 | "https://www.google.co.uz/search*",
370 | "http://www.google.com.vc/search*",
371 | "https://www.google.com.vc/search*",
372 | "http://www.google.co.ve/search*",
373 | "https://www.google.co.ve/search*",
374 | "http://www.google.vg/search*",
375 | "https://www.google.vg/search*",
376 | "http://www.google.co.vi/search*",
377 | "https://www.google.co.vi/search*",
378 | "http://www.google.com.vn/search*",
379 | "https://www.google.com.vn/search*",
380 | "http://www.google.vu/search*",
381 | "https://www.google.vu/search*",
382 | "http://www.google.ws/search*",
383 | "https://www.google.ws/search*",
384 | "http://www.google.rs/search*",
385 | "https://www.google.rs/search*",
386 | "http://www.google.co.za/search*",
387 | "https://www.google.co.za/search*",
388 | "http://www.google.co.zm/search*",
389 | "https://www.google.co.zm/search*",
390 | "http://www.google.co.zw/search*",
391 | "https://www.google.co.zw/search*",
392 | "http://www.google.cat/search*",
393 | "https://www.google.cat/search*"
394 | ],
395 | "js": [
396 | "removeAd.js"
397 | ]
398 | }
399 | ]
400 | }
--------------------------------------------------------------------------------