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 ...@@ -111,31 +111,61 @@ Spiegel.de loads their adtech along with the core functionality of the site, so
```mson ```mson
- trigger: - trigger:
- url-filter: spiegel.de - url-filter: cdn2.spiegel.de/images/image-[0-9][0-9][0-9][0-9][0-9]-thumbbiga
- load-type: first-party - load-type: third-party
- if-domain: spiegel.de, www.spiegel.de
- action: - 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: block
- type: css-display-none
``` ```
## 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 ```mson
- trigger: - trigger:
- url-filter: www.spiegel.de - url-filter: /static/sys/pixel.gif
- load-type: first-party - load-type: first-party
- if-domain: spiegel.de, www.spiegel.de
- action: - 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: block
- type: css-display-none
``` ```
## 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 ```mson
- trigger: - trigger:
- url-filter: spiegel-de.spiegel.de - url-filter: d2tycn7nnoiglw.cloudfront.net/ads/img/x.gif
- load-type: third-party - load-type: third-party
- if-domain: spiegel.de, www.spiegel.de - if-domain: spiegel.de, www.spiegel.de
- action: - action:
- type: block - type: block
``` ```
\ No newline at end of file
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<!-- /trackersList --> <!-- /trackersList -->
* (Aggressive) * (Aggressive)
* (Doorslam) * (Doorslam)
* (Web bug)
<!-- Manual: You may manually add other ethical design violation badges here. Delete this comment and <!-- 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. do not leave empty lines between the /trackersList comment, above, and the new list items if you do.
...@@ -64,7 +65,6 @@ ...@@ -64,7 +65,6 @@
* (Clickbait) * (Clickbait)
* (Fingerprint) * (Fingerprint)
* (Web bug)
--> -->
<!-- Automatic: the After Better section is generated and updated by Better Inspector. Please do not edit manually. --> <!-- 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 ...@@ -80,11 +80,4 @@ Statistics by [Better Inspector](https://source.ind.ie/better/inspector) based o
### Block blocker blocker ### Block blocker blocker
```mson **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))
- trigger:
- url-filter: commsvc.stern.de
- load-type: third-party
- if-domain: stern.de, www.stern.de
- action:
- type: block
```
...@@ -118,6 +118,24 @@ These ads are loaded via a first-party script, so we block that script. ...@@ -118,6 +118,24 @@ These ads are loaded via a first-party script, so we block that script.
- type: block - 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 ### Improve post-blocking experience
Clean up space left over after blocking behavioural advertising. Clean up space left over after blocking behavioural advertising.
...@@ -127,7 +145,7 @@ 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 - url-filter: www.wetteronline.de
- load-type: first-party - load-type: first-party
- action: - 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 - type: css-display-none
``` ```
...@@ -136,7 +154,7 @@ Clean up space left over after blocking behavioural advertising. ...@@ -136,7 +154,7 @@ Clean up space left over after blocking behavioural advertising.
- url-filter: wetteronline.de - url-filter: wetteronline.de
- load-type: first-party - load-type: first-party
- action: - 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 - type: css-display-none
``` ```
...@@ -2,6 +2,32 @@ ...@@ -2,6 +2,32 @@
The rules here negate the block rules set up previously. They are used to work around sites that block Better. 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 ## Fix marksandspencer.com
We let [tiqcdn.com](/trackers/tiqcdn.com) tracker through for marksandspencer.com as otherwise the payment button won’t work. 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