Commit b3e790ef authored by Laura Kalbag's avatar Laura Kalbag

Merge branch '20190313-01' into 'master'

Blocking Rules Update 2019-03-13-01

Closes #845, #858, #880, and #526

See merge request !353
parents 5badb163 7c018887
......@@ -111,31 +111,61 @@ Spiegel.de loads their adtech along with the core functionality of the site, so
```mson
- trigger:
- url-filter: spiegel.de
- load-type: first-party
- url-filter: cdn2.spiegel.de/images/image-[0-9][0-9][0-9][0-9][0-9]-thumbbiga
- load-type: third-party
- if-domain: spiegel.de, www.spiegel.de
- action:
- selector: img[src*="thumbflex"], img[src*="hpcpleftcolumn"], div[data-sponlytics-area="at"] > div:nth-of-type(1), div#wrapper > div:nth-of-type(1), div#content-main > div:nth-of-type(1) > div:nth-of-type(1) > img, div.spArticleContent + div > div:nth-of-type(3) > img
- type: css-display-none
- type: block
```
## Avoid blocker blocker on spiegel.de
([Issue #628](https://source.ind.ie/better/content/issues/628))
```mson
- trigger:
- url-filter: spiegel-de.spiegel.de
- load-type: third-party
- if-domain: spiegel.de, www.spiegel.de
- action:
- type: block
```
## Block pixel trackers
```mson
- trigger:
- url-filter: www.spiegel.de
- url-filter: /static/sys/pixel.gif
- load-type: first-party
- if-domain: spiegel.de, www.spiegel.de
- action:
- selector: img[src*="thumbflex"], img[src*="hpcpleftcolumn"], div[data-sponlytics-area="at"] > div:nth-of-type(1), div#wrapper > div:nth-of-type(1), div#content-main > div:nth-of-type(1) > div:nth-of-type(1) > img, div.spArticleContent + div > div:nth-of-type(3) > img
- type: css-display-none
- type: block
```
## Avoid blocker blocker on spiegel.de
```mson
- trigger:
- url-filter: spiegel.met.vgwort.de/na/
- load-type: first-party
- if-domain: spiegel.de, www.spiegel.de
- action:
- type: block
```
([Issue #628](https://source.ind.ie/better/content/issues/628))
```mson
- trigger:
- url-filter: c.spiegel.de/nm_trck.gif
- load-type: third-party
- if-domain: spiegel.de, www.spiegel.de
- action:
- type: block
```
```mson
- trigger:
- url-filter: spiegel-de.spiegel.de
- url-filter: d2tycn7nnoiglw.cloudfront.net/ads/img/x.gif
- load-type: third-party
- if-domain: spiegel.de, www.spiegel.de
- action:
- type: block
```
\ No newline at end of file
```
......@@ -56,6 +56,7 @@
<!-- /trackersList -->
* (Aggressive)
* (Doorslam)
* (Web bug)
<!-- Manual: You may manually add other ethical design violation badges here. Delete this comment and
do not leave empty lines between the /trackersList comment, above, and the new list items if you do.
......@@ -64,7 +65,6 @@
* (Clickbait)
* (Fingerprint)
* (Web bug)
-->
<!-- Automatic: the After Better section is generated and updated by Better Inspector. Please do not edit manually. -->
......@@ -80,11 +80,4 @@ Statistics by [Better Inspector](https://source.ind.ie/better/inspector) based o
### Block blocker blocker
```mson
- trigger:
- url-filter: commsvc.stern.de
- load-type: third-party
- if-domain: stern.de, www.stern.de
- action:
- type: block
```
**Fix:** See [unblock rules](/trackers/Ω-ignore-previous-rules/) for how we allow the [theadex.com](/trackers/theadex.com) tracker through just for stern.de as blocking it triggers the site’s blocker blocker. ([Issue](https://source.ind.ie/better/content/issues/880))
......@@ -118,6 +118,24 @@ These ads are loaded via a first-party script, so we block that script.
- type: block
```
```mson
- trigger:
- if-domain: www.wetteronline.de
- url-filter: goaz.wetteronline.de
- load-type: third-party
- action:
- type: block
```
```mson
- trigger:
- if-domain: wetteronline.de
- url-filter: goaz.wetteronline.de
- load-type: third-party
- action:
- type: block
```
### Improve post-blocking experience
Clean up space left over after blocking behavioural advertising.
......@@ -127,7 +145,7 @@ Clean up space left over after blocking behavioural advertising.
- url-filter: www.wetteronline.de
- load-type: first-party
- action:
- selector: .adplace, #woLead.centeredBill, #topcontainer, #woRect, .kskdDiv, #woFooterBillboard
- selector: .adplace, #woLead.centeredBill, #topcontainer, #woRect, .kskdDiv, #woFooterBillboard, iframe[name*="google_ads"], div#header + div, div#adLink + div
- type: css-display-none
```
......@@ -136,7 +154,7 @@ Clean up space left over after blocking behavioural advertising.
- url-filter: wetteronline.de
- load-type: first-party
- action:
- selector: .adplace, #woLead.centeredBill, #topcontainer, #woRect, .kskdDiv, #woFooterBillboard
- selector: .adplace, #woLead.centeredBill, #topcontainer, #woRect, .kskdDiv, #woFooterBillboard, iframe[name*="google_ads"], div#header + div, div#adLink + div
- type: css-display-none
```
......@@ -2,6 +2,32 @@
The rules here negate the block rules set up previously. They are used to work around sites that block Better.
# Unblock blocker blocker on stern.de
We let [theadex.com](/trackers/theadex.com) tracker through just for stern.de as blocking it triggers the site’s blocker blocker.
```mson
- trigger:
- url-filter: www.summerhamster.com
- load-type: third-party
- if-domain: www.stern.de, stern.de
- action:
- type: ignore-previous-rules
```
## Fix t-online.de
We let [stroeerdp.de](/trackers/stroeerdp.de) tracker through for t-online.de as otherwise the styles won’t load.
```mson
- trigger:
- url-filter: pssl.stroeerdp.de
- load-type: third-party
- if-domain: www.t-online.de
- action:
- type: ignore-previous-rules
```
## Fix marksandspencer.com
We let [tiqcdn.com](/trackers/tiqcdn.com) tracker through for marksandspencer.com as otherwise the payment button won’t work.
......
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