Skip to content

Commit

Permalink
Element hiding: Properly hide empty ad containers on refinery29.com, …
Browse files Browse the repository at this point in the history
…washingtonpost.com, & slate.com (#1358)

* Update element-hiding.json

* update ad label strings for wapo

* Update element-hiding.json

---------

Co-authored-by: Konrad Dzwinel <[email protected]>
  • Loading branch information
dharb and kdzwinel authored Oct 6, 2023
1 parent e078b07 commit 2d79239
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions features/element-hiding.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@
"selector": "#topBanner",
"type": "hide-empty"
},
{
"selector": ".top-ad",
"type": "hide-empty"
},
{
"selector": ".ad-banner-container",
"type": "hide-empty"
Expand Down Expand Up @@ -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",
Expand All @@ -487,6 +492,7 @@
"sponsored",
"sponsorisé",
"story continues below advertisement",
"story continues below advertisementadvertisement",
"publicité",
"publicidade",
"reklama",
Expand Down Expand Up @@ -1406,6 +1412,15 @@
}
]
},
{
"domain": "refinery29.com",
"rules": [
{
"selector": ".section-ad",
"type": "hide-empty"
}
]
},
{
"domain": "reuters.com",
"rules": [
Expand Down Expand Up @@ -1492,6 +1507,15 @@
}
]
},
{
"domain": "slate.com",
"rules": [
{
"selector": ".slate-ad",
"type": "hide-empty"
}
]
},
{
"domain": "snopes.com",
"rules": [
Expand Down

0 comments on commit 2d79239

Please sign in to comment.