Commit 2b6705a2 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Hide gaps left by blocked adtech on cnet.com. Closes #739

parent ee4456c2
# **CNET** (cnet.com)
> “CNET is an American media website that publishes reviews, news, articles, blogs, podcasts and videos on technology and consumer electronics” – [Source](https://en.wikipedia.org/wiki/CNET
## Ethical design violations
(Learn more about [Ethical Design](https://ind.ie/ethical-design).)
<!-- Automatic: the trackers list is generated and updated by Better Inspector. Please do not edit manually. -->
<!-- trackersList -->
* (Trackers)
* cbsistatic.com
* evidon.com
* openx.net
* revcontent.com
* 2mdn.net
* doubleverify.com
* go-mpulse.net
* googletagservices.com
* indexww.com
* sonobi.com
* twitter.com
* betrad.com
* adsrvr.org
* google.ie
* google.com
* doubleclick.net
* casalemedia.com
* chartbeat.com
* sharethrough.com
* twimg.com
* scorecardresearch.com
* chartbeat.net
* googlesyndication.com
* ampproject.org
* fonts.googleapis.com
* moatads.com
* rubiconproject.com
* cbsi.com
* moatpixel.com
* tiqcdn.com
* akamaihd.net
* google-analytics.com
* tru.am
* tealiumiq.com
* imrworldwide.com
* quantserve.com
* yahoo.com
* lightboxcdn.com
* adnxs.com
* mathtag.com
* demdex.net
* advertising.com
* bidr.io
* viglink.com
* facebook.net
* agkn.com
* qualtrics.com
* cbsinteractive.com
* urbanairship.com
* exelator.com
* akstat.io
* rlcdn.com
* disqus.com
* ml314.com
* facebook.com
* adadvisor.net
* crwdcntrl.net
* liadm.com
* gstatic.com
* lightboxapi2.azurewebsites.net
<!-- /trackersList -->
<!-- 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.
Valid badges are:
* (Aggressive)
* (Doorslam)
* (Clickbait)
* (Fingerprint)
* (Web bug)
-->
<!-- Automatic: the After Better section is generated and updated by Better Inspector. Please do not edit manually. -->
## After Better
* Requests: <!-- requestsBefore -->353 requests<!-- /requestsBefore --> to <!-- requestsAfter -->115 requests<!-- /requestsAfter --> (<!-- requestsBlocked -->238 requests<!-- /requestsBlocked --> blocked, <!-- deltaRequests -->3.1× Safer<!-- /deltaRequests -->)
* Weight: <!-- sizeBefore -->3.69 MB<!-- /sizeBefore --> to <!-- sizeAfter -->1.85 MB<!-- /sizeAfter --> (<!-- sizeSaved -->1.84 MB<!-- /sizeSaved --> saved, <!-- deltaSize -->50% Lighter<!-- /deltaSize -->)
* Speed: <!-- timeBefore -->3.59 minutes<!-- /timeBefore --> to <!-- timeAfter -->1.13 minutes<!-- /timeAfter --> (<!-- timeSaved -->2.46 minutes<!-- /timeSaved --> saved, <!-- deltaTime -->3.2× Faster<!-- /deltaTime -->)
Statistics by [Better Inspector](https://source.ind.ie/better/inspector) based on [the page](https://archive.better.fyi/cnet.com.har.gz) as on <!-- lastUpdate -->Saturday, November 3rd 2018<!-- /lastUpdate -->
<!-- Manual: Add block rules (site fixes, first-party blocking, etc.) for this site (if any), here. -->
## Block rules
### Hide behavioural ads
CNET loads in all their tracking first-party from their own domain, mixed with functionality, under obfuscated URLs, which makes it impossible to block. So we hide the visible adtech.
```mson
- trigger:
- url-filter: cnet.com
- load-type: first-party
- action:
- selector: div[data-component="taboola"]
- type: css-display-none
```
```mson
- trigger:
- url-filter: www.cnet.com
- load-type: first-party
- action:
- selector: div[data-component="taboola"]
- type: css-display-none
```
### Tidy up
Hide gaps left by blocked behavioural ads.
```mson
- trigger:
- url-filter: cnet.com
- load-type: first-party
- action:
- selector: .ad-nav-ad-plus
- type: css-display-none
```
```mson
- trigger:
- url-filter: www.cnet.com
- load-type: first-party
- action:
- selector: .ad-nav-ad-plus
- type: css-display-none
```
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