From 2d79239a730e58985ffe0bd11219d2f28824913a Mon Sep 17 00:00:00 2001 From: David Harbage Date: Fri, 6 Oct 2023 09:43:52 -0400 Subject: [PATCH] Element hiding: Properly hide empty ad containers on refinery29.com, washingtonpost.com, & slate.com (#1358) * Update element-hiding.json * update ad label strings for wapo * Update element-hiding.json --------- Co-authored-by: Konrad Dzwinel --- features/element-hiding.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/features/element-hiding.json b/features/element-hiding.json index 14bc5c2d1..78ca2dd98 100644 --- a/features/element-hiding.json +++ b/features/element-hiding.json @@ -235,6 +235,10 @@ "selector": "#topBanner", "type": "hide-empty" }, + { + "selector": ".top-ad", + "type": "hide-empty" + }, { "selector": ".ad-banner-container", "type": "hide-empty" @@ -469,6 +473,7 @@ "advertisements", "advertisment", "advertisementclose", + "advertisementadvertisement", "advertisementcontinue reading the main story", "advertisement\ncontinue reading the main story", "advertisement\n\ncontinue reading the main story", @@ -487,6 +492,7 @@ "sponsored", "sponsorisé", "story continues below advertisement", + "story continues below advertisementadvertisement", "publicité", "publicidade", "reklama", @@ -1406,6 +1412,15 @@ } ] }, + { + "domain": "refinery29.com", + "rules": [ + { + "selector": ".section-ad", + "type": "hide-empty" + } + ] + }, { "domain": "reuters.com", "rules": [ @@ -1492,6 +1507,15 @@ } ] }, + { + "domain": "slate.com", + "rules": [ + { + "selector": ".slate-ad", + "type": "hide-empty" + } + ] + }, { "domain": "snopes.com", "rules": [