From 1e82bfc7d1a7e3378e20dfa19e5be672d1437eed Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 21 May 2021 18:04:47 +0200 Subject: [PATCH] Remove Mitteldeutsche Zeitung (obsolete) --- README.md | 1 - background.js | 1 - changelog.txt | 1 + contentScript.js | 8 -------- manifest.json | 3 +-- sites.js | 1 - 6 files changed, 2 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 15a522b..dae6ed1 100644 --- a/README.md +++ b/README.md @@ -309,7 +309,6 @@ Groupe Rossel sites (grouped in options) like [Handelsblatt](https://www.handelsblatt.com) - [Krautreporter.de](https://krautreporter.de) - [Kurier.at](https://kurier.at) - -[Mitteldeutsche Zeitung](https://www.mz-web.de) - [Neue Osnabrücker Zeitung](https://www.noz.de]) - [Nordwest Zeitung](https://www.nwzonline.de) - [Piqd.de](https://www.piqd.de) - diff --git a/background.js b/background.js index 6c1cdcc..c5a0760 100644 --- a/background.js +++ b/background.js @@ -107,7 +107,6 @@ var allow_cookies_default = [ 'medianama.com', 'medium.com', 'modernhealthcare.com', - 'mz-web.de', 'nation.africa', 'nationalgeographic.com', 'nationalpost.com', diff --git a/changelog.txt b/changelog.txt index e264aae..61481fc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add MediaNama (India) +Remove Mitteldeutsche Zeitung (obsolete) Fix-update Prensa Iberica Fix-update The Economic Times (mobile/India) Fix-update Valor Economico (Google webcache) diff --git a/contentScript.js b/contentScript.js index 8d10ab2..fec152a 100644 --- a/contentScript.js +++ b/contentScript.js @@ -448,14 +448,6 @@ else if (matchDomain('kurier.at')) { plus_content.classList.remove('plusContent'); } -else if (matchDomain('mz-web.de')) { - let platzhalter = document.querySelector('#c1-template-platzhalter'); - removeDOMElement(platzhalter); - let paid_content = document.querySelector('.hide-paid-content'); - if (paid_content) - paid_content.classList.remove('hide-paid-content'); -} - else if (matchDomain(['noz.de', 'nwzonline.de', 'shz.de', 'svz.de'])) { let url = window.location.href; let paywall = document.querySelector('.paywall, .story--premium__container'); diff --git a/manifest.json b/manifest.json index 8d635b0..f0a5664 100644 --- a/manifest.json +++ b/manifest.json @@ -300,7 +300,6 @@ "*://*.modernhealthcare.com/*", "*://*.morgenpost.de/*", "*://*.mv-voice.com/*", - "*://*.mz-web.de/*", "*://*.nation.africa/*", "*://*.nationalgeographic.com/*", "*://*.nationalpost.com/*", @@ -517,5 +516,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.2.1.4" + "version": "2.2.1.5" } \ No newline at end of file diff --git a/sites.js b/sites.js index 4a94e0d..fb8494d 100644 --- a/sites.js +++ b/sites.js @@ -170,7 +170,6 @@ var defaultSites = "Miami Herald": "miamiherald.com", "MIT Sloan Management Review": "sloanreview.mit.edu", "MIT Technology Review": "technologyreview.com", - "Mitteldeutsche Zeitung": "mz-web.de", "Modern Healthcare": "modernhealthcare.com", "National Geographic USA": "nationalgeographic.com", "Mountain View Voice": "mv-voice.com",