From f5c7a658ba5731aff3bf79ed11e7fd4b2b9d5ad0 Mon Sep 17 00:00:00 2001 From: Jason Schwarzenberger Date: Mon, 16 Nov 2020 16:49:39 +1300 Subject: [PATCH] cosmetic filters for the spinoff. --- readerserver/scraper/browser/scripts/cosmetic-filters.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readerserver/scraper/browser/scripts/cosmetic-filters.js b/readerserver/scraper/browser/scripts/cosmetic-filters.js index 1ce7264..921d0b8 100644 --- a/readerserver/scraper/browser/scripts/cosmetic-filters.js +++ b/readerserver/scraper/browser/scripts/cosmetic-filters.js @@ -39,6 +39,9 @@ if (matchDomain(["tvnz.co.nz"])) { removeSelectors([".signup-container container"]); } + if (matchDomain(["thespinoff.co.nz"])) { + removeSelectors([".the-spinoff-club-interruptive", ".bulletin-signup"]); + } function matchDomain(domains) { const hostname = window.location.hostname;