Ind.ie is now Small Technology Foundation.
Commit 5bce717c authored by Laura Kalbag's avatar Laura Kalbag

Update rules for reuters.com to unbreak content

Closes #728
parent 9b4444bd
......@@ -96,25 +96,3 @@ Statistics by [Better Inspector](https://source.ind.ie/better/inspector) based o
- action:
- type: block
```
## Block Dianomi tracking image on reuters.com
As the JavaScript is included directly on the page, we’ll block the source URL. As they deliberately bundle the JS, images and CSS required for the rest of the site with the ads, and randomise the URL they are served from, we have to get around this too. ([Issue #728](https://source.ind.ie/better/content/issues/728))
```mson
- trigger:
- url-filter: reuters.com
- load-type: first-party
- action:
- selector: .StandardArticleBody_body + div, div[data-template="article_list"] > div > div:nth-of-type(1), div.TwoColumnLayout_column + div > div img
- type: css-display-none
```
```mson
- trigger:
- url-filter: www.reuters.com
- load-type: first-party
- action:
- selector: .StandardArticleBody_body + div, div[data-template="article_list"] > div > div:nth-of-type(1), div.TwoColumnLayout_column + div > div img
- type: css-display-none
```
\ No newline at end of file
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