Skip to content

Commit

Permalink
nzherald cosmetic filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Schwarzenberger committed Nov 23, 2020
1 parent 284108c commit 11ebcd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper/headless/scripts/cosmetic-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ window.addEventListener('DOMContentLoaded', function (event) {
".meta-data",
".article__kicker",
".author__image",
'[alt="Subscribe to Premium"]',
]);
}
if (matchDomain(["rnz.co.nz", "radionz.co.nz"])) {
Expand All @@ -38,7 +39,7 @@ window.addEventListener('DOMContentLoaded', function (event) {
".c-ArticleHeading-authorPicture",
".relatedarticles",
".ArticleAttribution",
'.GlobalFooter'
'.GlobalFooter',
]);
}
if (matchDomain(["tvnz.co.nz"])) {
Expand All @@ -49,7 +50,7 @@ window.addEventListener('DOMContentLoaded', function (event) {
".the-spinoff-club-interruptive",
".bulletin-signup",
".addthis_sharing_toolbox",
"#sponsor_post_footer"
"#sponsor_post_footer",
]);
}

Expand Down

0 comments on commit 11ebcd6

Please sign in to comment.