Add Project Syndicate (link to archive.is)

merge-requests/10/head
magnolia1234 2 years ago
parent 79cb52d6b9
commit 7bb5b18685

@ -189,6 +189,7 @@ Grouped in options:\
[First Things](https://www.firstthings.com) -
[National Review](https://www.nationalreview.com) -
[Outdoor Life](https://www.outdoorlife.com) -
[Project Syndicate (link to archive.is)](https://www.project-syndicate.org) -
[Puck.news](https://puck.news) -
[RugbyPass](https://www.rugbypass.com) -
[Slate](https://slate.com) -

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add CNBC (Pro text)
Add Project Syndicate (link to archive.is)
Fix The Hill Times (text)
* v2.9.3.0 (2022-11-13)

@ -3472,6 +3472,17 @@ else if (matchDomain('outlookindia.com')) {
}
}
else if (matchDomain('project-syndicate.org')) {
let url = window.location.href;
let paywall = document.querySelector('div.paywall--base');
if (paywall) {
removeDOMElement(paywall);
let article = document.querySelector('div[data-page-area="article-body"]');
if (article)
article.insertBefore(archiveLink(url), article.firstChild);
}
}
else if (matchDomain('puck.news')) {
let paywall = document.querySelector('.paywall');
if (paywall) {

@ -498,6 +498,7 @@
"*://*.post-gazette.com/*",
"*://*.precisiononcologynews.com/*",
"*://*.prevention.com/*",
"*://*.project-syndicate.org/*",
"*://*.prospectmagazine.co.uk/*",
"*://*.public.fr/*",
"*://*.puck.news/*",
@ -730,5 +731,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.3.2"
"version": "2.9.3.3"
}

@ -1531,6 +1531,10 @@ var defaultSites = {
domain: "penews.com",
useragent: "googlebot"
},
"Project Syndicate (link to archive.is)": {
domain: "project-syndicate.org",
allow_cookies: 1
},
"Prospect Magazine": {
domain: "prospectmagazine.co.uk",
allow_cookies: 1
@ -2407,4 +2411,4 @@ init_custom_domains();
// sites with no fix (background)
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be'];
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'lastampa.it', 'limesonline.com'];
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'courrierinternational.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nature.com', 'nbr.co.nz', 'ouest-france.fr', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(be_mediahuis_nofix_domains, it_gedi_nofix_domains);
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'courrierinternational.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nature.com', 'nbr.co.nz', 'ouest-france.fr', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'swp.de', 'tagesanzeiger.ch', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(be_mediahuis_nofix_domains, it_gedi_nofix_domains);

@ -41,12 +41,6 @@
"allow_cookies": 1,
"block_regex": "(\\.la-croix\\.com\\/build\\/.+\\/paywall.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
},
"Mediapart.fr": {
"domain": "mediapart.fr",
"allow_cookies": 1,
"ld_google_webcache": "div[id^=\"paywall_\"], div.offre-basique|div.paywall-restricted-content, div.content-article",
"new_site": 1
},
"Philosophie Magazine": {
"domain": "philomag.com",
"allow_cookies": 1,
@ -78,11 +72,6 @@
"allow_cookies": 1,
"block_regex": "\\.nypost\\.com\\/zephr\\/feature"
},
"The New York Sun": {
"domain": "nysun.com",
"allow_cookies": 1,
"block_regex": "\\.nysun\\.com\\/zephr\\/features"
},
"The Spectator (UK)": {
"domain": "spectator.co.uk",
"useragent": "googlebot"

Loading…
Cancel
Save