Commit c57e2f1c authored by Laura Kalbag's avatar Laura Kalbag

Hide targeted ads loaded from subdomain on courant.com

Closes #844
parent be7cd6b6
# **Hartford Courant** (courant.com)
> “The Hartford Courant is the largest daily newspaper in the U.S. state of Connecticut” – [Source](https://en.wikipedia.org/wiki/Hartford_Courant)
## 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)
* indexww.com
* amazon-adsystem.com
* googletagservices.com
* trbas.com
* tribdss.com
* trbimg.com
* openx.net
* revcontent.com
* 2mdn.net
* doubleverify.com
* betrad.com
* google.com
* doubleclick.net
* criteo.net
* adsrvr.org
* rubiconproject.com
* facebook.com
* adnxs.com
* casalemedia.com
* crwdcntrl.net
* ntv.io
* google-analytics.com
* akamai.net
* bounceexchange.com
* googlesyndication.com
* criteo.com
* postrelease.com
* chartbeat.net
* trb.com
* tronc.com
* akamaihd.net
* saambaa.com
* azureedge.net
* moatads.com
* yahoo.com
* scorecardresearch.com
* everesttech.net
* mathtag.com
* fonts.googleapis.com
* turn.com
* krxd.net
* simpli.fi
* rfihub.com
* sitescout.com
* ads-twitter.com
* facebook.net
* bing.com
* moatpixel.com
* cdnbasket.net
* quantserve.com
* keywee.co
* cdnwidget.com
* t.co
* quantcount.com
* ipredictive.com
* twitter.com
* addthis.com
* ml314.com
* agkn.com
* ib-ibi.com
* mookie1.com
* exelator.com
* sonobi.com
* bouncex.net
* pubmatic.com
* digitru.st
* domdex.com
* tubemogul.com
* netmng.com
* rlcdn.com
* atdmt.com
* bidr.io
* owneriq.net
* gumgum.com
* w55c.net
* basebanner.com
* media6degrees.com
* mxptint.net
* dotomi.com
* 1rx.io
* tribalfusion.com
* adhigh.net
* pippio.com
* createjs.com
* bidswitch.net
* pswec.com
* adsymptotic.com
* demdex.net
* contextweb.com
* adentifi.com
* rundsp.com
* zemanta.com
* eyereturn.com
* gwallet.com
* adgrx.com
* adform.net
* brealtime.com
* tapad.com
* playground.xyz
<!-- /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 -->568 requests<!-- /requestsBefore --> to <!-- requestsAfter -->107 requests<!-- /requestsAfter --> (<!-- requestsBlocked -->461 requests<!-- /requestsBlocked --> blocked, <!-- deltaRequests -->5.3× Safer<!-- /deltaRequests -->)
* Weight: <!-- sizeBefore -->18.9 MB<!-- /sizeBefore --> to <!-- sizeAfter -->17.09 MB<!-- /sizeAfter --> (<!-- sizeSaved -->1.8 MB<!-- /sizeSaved --> saved, <!-- deltaSize -->10% Lighter<!-- /deltaSize -->)
* Speed: <!-- timeBefore -->6.83 minutes<!-- /timeBefore --> to <!-- timeAfter -->1.28 minutes<!-- /timeAfter --> (<!-- timeSaved -->5.55 minutes<!-- /timeSaved --> saved, <!-- deltaTime -->5.3× Faster<!-- /deltaTime -->)
Statistics by [Better Inspector](https://source.ind.ie/better/inspector) based on [the page](https://archive.better.fyi/courant.com.har.gz) as on <!-- lastUpdate -->Friday, November 30th 2018<!-- /lastUpdate -->
## Block rules
### Block Google tracking
Courant loads its Google tracking from a subdomain, the same domain it loads functionality from, to avoid blockers.
So we hide all the targeted ads loaded from that subdomain.
```mson
- trigger:
- url-filter: www.courant.com
- load-type: first-party
- action:
- selector: .trb_mh_adB.trb_masthead_adBanner, section section .trb_gptAd, aside.trb_brkr_nt, div div.trb_gptAd.trb_rBrkAd, .s2nPlayerFrame, .trb_barker.trb_brk.trb_brk_bl, .trb_gptAd.trb_footer_adBanner_combo, section.trb_outfit
- type: css-display-none
```
```mson
- trigger:
- url-filter: courant.com
- load-type: first-party
- action:
- selector: .trb_mh_adB.trb_masthead_adBanner, section section .trb_gptAd, aside.trb_brkr_nt, div div.trb_gptAd.trb_rBrkAd, .s2nPlayerFrame, .trb_barker.trb_brk.trb_brk_bl, .trb_gptAd.trb_footer_adBanner_combo, section.trb_outfit
- 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