mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:47:47 +01:00
Add Le Figaro (link to archive.is)
This commit is contained in:
parent
fe7626ef01
commit
0de57adeab
7 changed files with 28 additions and 3 deletions
|
@ -460,6 +460,7 @@ Grouped in options:\
|
|||
[La Nouvelle République du Centre-Ouest](https://www.lanouvellerepublique.fr) -
|
||||
[La Tribune](https://www.latribune.fr) -
|
||||
[Le Courrier des Stratèges](https://lecourrierdesstrateges.fr) -
|
||||
[Le Figaro (link to archive.is)](https://www.lefigaro.fr) -
|
||||
[Le Journal du Dimanche](https://lejdd.fr) -
|
||||
[Le Journal du Net](https://www.journaldunet.com) -
|
||||
[Le Nouvel Economiste](https://www.lenouveleconomiste.fr) -
|
||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Add Le Figaro (link to archive.is)
|
||||
Remove Cellesche Zeitung (fix obsolete)
|
||||
Fix Automobilwoche.de (js)
|
||||
Fix Faz.net (json)
|
||||
|
|
|
@ -1467,6 +1467,17 @@ else if (matchDomain('lecourrierdesstrateges.fr')) {
|
|||
}, 500);
|
||||
}
|
||||
|
||||
else if (matchDomain('lefigaro.fr')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div#fig-premium-paywall');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
let article = document.querySelector('article');
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(['lejdd.fr', 'parismatch.com', 'public.fr'])) {
|
||||
let poool_banner = document.querySelector('#poool-container');
|
||||
let poool_widget = document.querySelector('#poool-widget-content');
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.0.5"
|
||||
"version": "3.1.0.6"
|
||||
}
|
||||
|
|
|
@ -371,6 +371,7 @@
|
|||
"*://*.lecourrierdesstrateges.fr/*",
|
||||
"*://*.ledauphine.com/*",
|
||||
"*://*.ledevoir.com/*",
|
||||
"*://*.lefigaro.fr/*",
|
||||
"*://*.lehighvalleylive.com/*",
|
||||
"*://*.leidschdagblad.nl/*",
|
||||
"*://*.lejdd.fr/*",
|
||||
|
@ -739,5 +740,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.0.5"
|
||||
"version": "3.1.0.6"
|
||||
}
|
||||
|
|
6
sites.js
6
sites.js
|
@ -1123,6 +1123,10 @@ var defaultSites = {
|
|||
block_regex: /\.tinypass\.com\//,
|
||||
remove_cookies_select_drop: ["pw6"]
|
||||
},
|
||||
"Le Figaro (link to archive.is)": {
|
||||
domain: "lefigaro.fr",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Le Journal du Dimanche": {
|
||||
domain: "lejdd.fr",
|
||||
allow_cookies: 1,
|
||||
|
@ -2465,4 +2469,4 @@ var au_news_corp_nofix_domains = ['cairnspost.com.au', 'geelongadvertiser.com.au
|
|||
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be', 'nieuwsblad.be', 'standaard.be'];
|
||||
var de_rp_medien_nofix_domains = ['ga.de', 'rp-online.de', 'saarbruecker-zeitung.de', 'volksfreund.de'];
|
||||
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', 'caravanmagazine.in', 'catalyst-journal.com', 'courrierinternational.com', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'golem.de', 'handelsblatt.com', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lequipe.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', 'rheinpfalz.de', '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', 'thedispatch.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(au_news_corp_nofix_domains, be_mediahuis_nofix_domains, de_rp_medien_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', 'caravanmagazine.in', 'catalyst-journal.com', 'courrierinternational.com', 'diepresse.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'finance.si', 'ftchinese.com', 'golem.de', 'handelsblatt.com', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lemonde.fr', 'lequipe.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', 'rheinpfalz.de', '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', 'thedispatch.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(au_news_corp_nofix_domains, be_mediahuis_nofix_domains, de_rp_medien_nofix_domains, it_gedi_nofix_domains);
|
||||
|
|
|
@ -29,6 +29,13 @@
|
|||
"domain": "inkl.com",
|
||||
"cs_code": "[{\"cond\":\"div.paywall\",\"rm_attrib\":\"class\"}]"
|
||||
},
|
||||
"Le Figaro (link to archive.is)": {
|
||||
"domain": "lefigaro.fr",
|
||||
"allow_cookies": 1,
|
||||
"add_ext_link": "div#fig-premium-paywall",
|
||||
"add_ext_link_type": "archive.is",
|
||||
"new_site": 1
|
||||
},
|
||||
"New Scientist": {
|
||||
"domain": "newscientist.com",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue