Add Spiegel.de (link to archive.is)

This commit is contained in:
magnolia1234 2023-02-19 13:45:20 +01:00
parent 519169ffb1
commit 42315e53e1
5 changed files with 19 additions and 1 deletions

View file

@ -530,6 +530,7 @@ Grouped in options:\
[Berliner Zeitung](https://www.berliner-zeitung.de) -
[Cellesche Zeitung](https://www.cz.de) -
[Cicero](https://www.cicero.de) -
[Der Spiegel (link to archive.is)](https://www.spiegel.de) -
[Der Tagesspiegel (link to archive.is)](https://www.tagesspiegel.de) -
[Deutsches Ärzteblatt](https://www.aerzteblatt.de) -
[Die Rheinpfalz](https://www.rheinpfalz.de) -

View file

@ -6,6 +6,7 @@ Post-release
Add DHnet.be
Add National World Publishing (UK)
Add Roularta Media Group (be)
Add Spiegel.de (link to archive.is)
Add TagesAnzeiger.ch (link to archive.is)
Remove Asia Times (fix obsolete)
Remove Finance.si (fix obsolete)

View file

@ -895,6 +895,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.firstChild.before(archiveLink(url));
}
}
else if (matchDomain('sueddeutsche.de')) {
let url = window.location.href;
let paywall = document.querySelector('offer-page, div.offer-page');

View file

@ -561,6 +561,7 @@
"*://*.spectator.com.au/*",
"*://*.spectatorworld.com/*",
"*://*.spglobal.com/*",
"*://*.spiegel.de/*",
"*://*.sportico.com/*",
"*://*.standard.co.uk/*",
"*://*.standard.net.au/*",

View file

@ -387,6 +387,10 @@ var defaultSites = {
domain: "tijd.be",
referer: "google"
},
"Der Spiegel (link to archive.is)": {
domain: "spiegel.de",
allow_cookies: 1
},
"Der Tagesspiegel (link to archive.is/not background/checkpoint)": {
domain: "tagesspiegel.de",
allow_cookies: 1
@ -2464,4 +2468,4 @@ init_custom_flex_domains();
var au_news_corp_nofix_domains = ['cairnspost.com.au', 'geelongadvertiser.com.au', 'townsvillebulletin.com.au'];
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be', 'nieuwsblad.be', 'standaard.be'];
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'lastampa.it', 'limesonline.com', 'repubblica.it'];
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'asiatimes.com', 'badische-zeitung.de', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'catalyst-journal.com', 'courrierinternational.com', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'letemps.ch', 'liberation.fr', 'lopinion.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'mondediplo.com', 'moneycontrol.com', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'nn.de', 'nwzonline.de', 'ouest-france.fr', 'philonomist.com', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'ruhrnachrichten.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'spiegel.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'substack.com', 'suedkurier.de', 'swp.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(au_news_corp_nofix_domains, be_mediahuis_nofix_domains, it_gedi_nofix_domains);
var nofix_sites = ['aamulehti.fi', 'africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'asiatimes.com', 'badische-zeitung.de', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'catalyst-journal.com', 'courrierinternational.com', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'golem.de', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'letemps.ch', 'liberation.fr', 'lopinion.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'mondediplo.com', 'moneycontrol.com', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'nn.de', 'nwzonline.de', 'ouest-france.fr', 'philonomist.com', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'ruhrnachrichten.de', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'substack.com', 'suedkurier.de', 'swp.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(au_news_corp_nofix_domains, be_mediahuis_nofix_domains, it_gedi_nofix_domains);