Add Spiegel.de (link to archive.is)

master
magnolia1234 2022-06-30 19:51:40 +02:00
parent 3a7016b001
commit 92d5ca5571
6 changed files with 20 additions and 2 deletions

View File

@ -493,6 +493,7 @@ Grouped in options:\
[Badische Neueste Nachrichten](https://www.bnn.de) -
[Berliner Zeitung](https://www.berliner-zeitung.de) -
[Cicero](https://www.cicero.de) -
[Der Spiegel (link to archive.today)](https://www.spiegel.de) -
[Die Rheinpfalz](https://www.rheinpfalz.de) -
[Die Zeit](https://www.zeit.de) -
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Add BQ Prime (former Bloomberg Quint)
Add Spiegel.de (link to archive.is)
Remove Deutsche Wirtschafts Nachrichten (fix obsolete)
Fix Automobilwoche
Fix Financial Times (cookie-banner)

View File

@ -660,6 +660,17 @@ else if (matchDomain('rheinpfalz.de')) {
}
}
else if (matchDomain('spiegel.de')) {
let url = window.location.href;
let paywall = document.querySelector('div[data-area="paywall"]');
if (paywall) {
removeDOMElement(paywall);
let article = document.querySelector('div[data-area="body"]');
if (article)
article.insertBefore(archiveLink(url), article.firstChild);
}
}
else if (matchDomain(['westfalen-blatt.de', 'wn.de', 'muensterschezeitung.de'])) {
let url = window.location.href;
if (url.includes('/amp/')) {

View File

@ -43,5 +43,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.7.3.4"
"version": "2.7.3.5"
}

View File

@ -503,6 +503,7 @@
"*://*.spectator.com.au/*",
"*://*.spectatorworld.com/*",
"*://*.spglobal.com/*",
"*://*.spiegel.de/*",
"*://*.sportico.com/*",
"*://*.standard.net.au/*",
"*://*.star-telegram.com/*",
@ -674,5 +675,5 @@
"*://*.wsj.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.7.3.4"
"version": "2.7.3.5"
}

View File

@ -332,6 +332,10 @@ var defaultSites = {
domain: "demorgen.be",
group_rule: "###_gr_nl_pg_domains"
},
"Der Spiegel": {
domain: "spiegel.de",
allow_cookies: 1
},
"Diario Financiero": {
domain: "df.cl",
allow_cookies: 1,