diff --git a/README.md b/README.md index d9aafad..2bd69df 100644 --- a/README.md +++ b/README.md @@ -462,8 +462,9 @@ Grouped in options:\ [Kurier.at](https://kurier.at) - [Mitteldeutsche Zeitung](https://www.mz.de) - [Münstersche Zeitung](https://www.muensterschezeitung.de) - -[Neue Osnabrücker Zeitung](https://www.noz.de]) - +[Neue Osnabrücker Zeitung](https://www.noz.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 59349ef..b86cdcb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add El Periodico Extremadura +Add Nuernberger Nachrichten Remove Algemeen Dagblad Regional (fix obsolete) Fix The Globe and Mail (sections) Fix The Hill Times (text) diff --git a/contentScript.js b/contentScript.js index c03be7c..bf5e74e 100644 --- a/contentScript.js +++ b/contentScript.js @@ -675,6 +675,14 @@ 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, #flying-carpet-wrapper'); diff --git a/manifest.json b/manifest.json index cff61d3..018cb5d 100644 --- a/manifest.json +++ b/manifest.json @@ -417,6 +417,7 @@ "*://*.nikkei.com/*", "*://*.nj.com/*", "*://*.nknews.org/*", + "*://*.nn.de/*", "*://*.nola.com/*", "*://*.noordhollandsdagblad.nl/*", "*://*.nordeclair.fr/*", @@ -663,5 +664,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.6.3.3" + "version": "2.6.3.4" } diff --git a/sites.js b/sites.js index eb2cdc5..4b402c4 100644 --- a/sites.js +++ b/sites.js @@ -1249,6 +1249,10 @@ var defaultSites = { domain: "nrc.nl", remove_cookies_select_drop: ["counter"] }, + "Nürnberger Nachrichten": { + domain: "nn.de", + block_regex: /(cdn\.cxense\.com\/|\.piano\.io\/)/ + }, "NyTeknik": { domain: "nyteknik.se", allow_cookies: 1, diff --git a/sites_updated.json b/sites_updated.json index b24e76e..38d64bc 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -21,45 +21,11 @@ "block_regex": "(\\.com\\.au\\/remote\\/identity\\/rampart\\/latest\\/rampart\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad|subscriptions)-.+\\.js)", "amp_unhide": 1 }, - "Badische Neueste Nachrichten": { - "allow_cookies": 1, - "domain": "bnn.de", - "useragent": "googlebot" - }, - "Financial Times (not Chinese)": { - "domain": "ft.com", - "block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad|subscriptions)-.+\\.js", - "useragent": "googlebot" - }, - "Folha de S. Paulo": { - "domain": "###_br_folha", - "group": [ - "folha.uol.com.br", - "blogfolha.uol.com.br" - ], - "allow_cookies": 1, - "block_regex": "(\\.folha\\.uol\\.com\\.br\\/paywall\\/js\\/|paywall\\.folha\\.uol\\.com\\.br\\/|js\\.matheranalytics\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-((sticky-)?ad|subscriptions)-.+\\.js)", - "useragent": "googlebot" - }, - "Franc-Tireur": { - "domain": "franc-tireur.fr", - "allow_cookies": 1, - "block_regex": "\\.poool\\.fr\\/" - }, "Le Nouvel Economiste": { "domain": "lenouveleconomiste.fr", "allow_cookies": 1, "useragent": "googlebot" }, - "Mid-Day": { - "domain": "mid-day.com", - "allow_cookies": 1, - "block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad)-.+\\.js", - "amp_redirect": { - "paywall": "#widget-_csc" - }, - "amp_unhide": 1 - }, "Münstersche Zeitung": { "allow_cookies": 1, "domain": "muensterschezeitung.de", @@ -69,6 +35,10 @@ }, "amp_unhide": 1 }, + "Nürnberger Nachrichten": { + "domain": "nn.de", + "block_regex": "(cdn\\.cxense\\.com\\/|\\.piano\\.io\\/)" + }, "S&P Global": { "domain": "spglobal.com", "allow_cookies": 1, @@ -86,15 +56,5 @@ "allow_cookies": 1, "domain": "wz.de", "useragent": "googlebot" - }, - "Winnipeg Free Press": { - "domain": "winnipegfreepress.com", - "allow_cookies": 1, - "block_regex": "cdn\\.cxense\\.com\\/", - "cs_code": [{ - "cond": ".paidaccess", - "rm_class": "paidaccess" - } - ] } }