From 34047d48c865f323185a4b3ac2348f0a1fd1fcfc Mon Sep 17 00:00:00 2001
From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com>
Date: Sun, 26 Jun 2022 14:00:58 +0200
Subject: [PATCH] Remove Dagens Nyheter (fix obsolete)
---
README.md | 1 -
changelog.txt | 1 +
manifest.json | 1 -
options/popup.html | 2 +-
sites.js | 8 +-------
5 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 63f2db6..40b898c 100644
--- a/README.md
+++ b/README.md
@@ -632,7 +632,6 @@ Grouped in options:\
##### Sweden
[Aftonbladet](https://www.aftonbladet.se) -
[Dagens Industri](https://www.di.se) -
-[Dagens Nyheter](https://www.dn.se)* -
[NyTeknik](https://www.nyteknik.se)
##### Switzerland
diff --git a/changelog.txt b/changelog.txt
index aa7fd8e..bc063e5 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -5,6 +5,7 @@ Post-release
Add Artforum
Add Initium Media
Add L'Avenir (Belgium)
+Remove Dagens Nyheter (fix obsolete)
Fix Business Standard
Fix El Mercurio
Fix Helsingin Sanomat (dynamic-json)
diff --git a/manifest.json b/manifest.json
index a1b1156..414d273 100644
--- a/manifest.json
+++ b/manifest.json
@@ -176,7 +176,6 @@
"*://*.diariovasco.com/*",
"*://*.digiday.com/*",
"*://*.discovermagazine.com/*",
- "*://*.dn.se/*",
"*://*.dna.fr/*",
"*://*.dvhn.nl/*",
"*://*.eastbaytimes.com/*",
diff --git a/options/popup.html b/options/popup.html
index cc542e7..6b38e6b 100644
--- a/options/popup.html
+++ b/options/popup.html
@@ -19,7 +19,7 @@
Changelog |
|
diff --git a/sites.js b/sites.js
index 2d30429..c4b9af7 100644
--- a/sites.js
+++ b/sites.js
@@ -311,12 +311,6 @@ var defaultSites = {
allow_cookies: 1,
useragent: "googlebot"
},
- "Dagens Nyheter (free articles only)": {
- domain: "dn.se",
- allow_cookies: 1,
- block_regex: /auth\.dn\.se\/check-paywall-v2\.js/,
- useragent: "googlebot"
- },
"Daily Nation": {
domain: "nation.africa",
allow_cookies: 1,
@@ -2154,4 +2148,4 @@ var usa_theathletic_domains = grouped_sites['###_usa_theathletic'];
// sites with no fix (background)
var nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl'];
-var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'handelsblatt.com', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'jacobinmag.com', 'japantimes.co.jp', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'wiwo.de', 'ynet.co.il'].concat(nl_ad_region_domains);
+var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'handelsblatt.com', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'jacobinmag.com', 'japantimes.co.jp', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'wiwo.de', 'ynet.co.il'].concat(nl_ad_region_domains);