From ee161e745a4fd27ee362dc91cd5bfced622ff1c0 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 6 Oct 2022 17:30:06 +0200 Subject: [PATCH] Remove Nuernberger Nachrichten (fix obsolete) --- README.md | 1 - changelog.txt | 1 + contentScript.js | 8 -------- custom/sites_custom.json | 9 +++++++++ manifest.json | 3 +-- sites.js | 4 ---- 6 files changed, 11 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index d4cd5b4..9b73c20 100644 --- a/README.md +++ b/README.md @@ -502,7 +502,6 @@ Grouped in options:\ [Neue Osnabrücker Zeitung](https://www.noz.de) - [Neue Westfälische](https://www.nw.de) - [Nordwest Zeitung](https://www.nwzonline.de) - -[Nürnberger Nachrichten](https://www.nn.de) - [Piqd.de](https://www.piqd.de) - [Rhein-Zeitung](https://www.rhein-zeitung.de) - [Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) - diff --git a/changelog.txt b/changelog.txt index e77db2d..2c8be40 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Remove Alma Talent sites (hold Iltalehti.fi) Remove NTNews.com.au (fix obsolete) +Remove Nuernberger Nachrichten (fix obsolete) Fix Corriere dello Sport (subdomains) Fix WaPo diff --git a/contentScript.js b/contentScript.js index 7fd9c98..017c2b2 100644 --- a/contentScript.js +++ b/contentScript.js @@ -680,14 +680,6 @@ else if (matchDomain(['mz.de', 'volksstimme.de'])) { } } -else if (matchDomain('nn.de')) { - let ad_billboard = document.querySelector('div#ad-Billboard'); - if (ad_billboard && ad_billboard.parentNode) - removeDOMElement(ad_billboard.parentNode); - let ads = document.querySelectorAll('div[id^="clsdiv_"]'); - removeDOMElement(...ads); -} - else if (matchDomain(['noz.de', 'nwzonline.de', 'shz.de', 'svz.de'])) { if (window.location.pathname.match(/(-amp\.html|\/amp)$/)) { amp_unhide_access_hide('="NOT data.reduced"', '="data.reduced"', 'amp-ad, amp-embed, .ads-wrapper, #flying-carpet-wrapper'); diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 9782bae..dd7ee11 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -165,6 +165,11 @@ "block_regex": "\\.tinypass\\.com\\/", "domain": "nationalobserver.com" }, + "Newbostonpost.com": { + "allow_cookies": 1, + "block_regex": "\\/newbostonpost\\.com\\/wp-content\\/themes\\/nbp\\/includes\\/paywall\\/js\\/main\\.js", + "domain": "newbostonpost.com" + }, "Nv.ua": { "allow_cookies": 1, "amp_redirect": "div[id^=\"media_paywall\"]", @@ -206,6 +211,10 @@ "block_regex": "loader-cdn\\.azureedge\\.net\\/", "domain": "spokesman.com" }, + "Sportsbusinessjournal.com": { + "domain": "sportsbusinessjournal.com", + "random_ip": "all" + }, "Supchina.com": { "allow_cookies": 1, "block_regex": "\\.tinypass\\.com\\/", diff --git a/manifest.json b/manifest.json index db11046..fb6af67 100644 --- a/manifest.json +++ b/manifest.json @@ -437,7 +437,6 @@ "*://*.nikkei.com/*", "*://*.nj.com/*", "*://*.nknews.org/*", - "*://*.nn.de/*", "*://*.nola.com/*", "*://*.noordhollandsdagblad.nl/*", "*://*.nordeclair.fr/*", @@ -713,5 +712,5 @@ "*://gcm.omerlocdn.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.8.7.3" + "version": "2.8.7.4" } diff --git a/sites.js b/sites.js index f62ca8f..2e6283c 100644 --- a/sites.js +++ b/sites.js @@ -1342,10 +1342,6 @@ var defaultSites = { remove_cookies_select_drop: ["counter"], block_regex: /\.nrc\.nl\/paywall-api\/api\/zephr/ }, - "Nürnberger Nachrichten": { - domain: "nn.de", - block_regex: /(cdn\.cxense\.com\/|\.piano\.io\/)/ - }, "NyTeknik": { domain: "nyteknik.se", allow_cookies: 1,