mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:37:47 +01:00
Re-add LePoint.fr (cached articles only)
This commit is contained in:
parent
5301c8ccda
commit
519169ffb1
6 changed files with 31 additions and 2 deletions
|
@ -462,6 +462,7 @@ Grouped in options:\
|
|||
[Le Journal du Net](https://www.journaldunet.com) -
|
||||
[Le Nouvel Economiste](https://www.lenouveleconomiste.fr) -
|
||||
[Le Parisien](https://www.leparisien.fr) -
|
||||
[Le Point](https://www.lepoint.fr) -
|
||||
[Le Télégramme](https://www.letelegramme.fr) -
|
||||
[Les Échos](https://www.lesechos.fr) -
|
||||
[Les Inrockuptibles](https://www.lesinrocks.com) -
|
||||
|
|
|
@ -9,7 +9,6 @@ Add Roularta Media Group (be)
|
|||
Add TagesAnzeiger.ch (link to archive.is)
|
||||
Remove Asia Times (fix obsolete)
|
||||
Remove Finance.si (fix obsolete)
|
||||
Remove LePoint.fr (fix obsolete)
|
||||
Remove NordEclair.fr (domain obsolete)
|
||||
Fix Australia News Corp (no amp-fix)
|
||||
Fix El Tiempo (css)
|
||||
|
|
|
@ -1615,6 +1615,22 @@ else if (matchDomain('leparisien.fr')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('lepoint.fr')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div.info-paywall');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
csDoneOnce = true;
|
||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
||||
replaceDomElementExt(url_cache, true, false, 'div.ArticleBody');
|
||||
}
|
||||
window.setTimeout(function () {
|
||||
let ads = document.querySelectorAll('#WRAP_BAN_ATF, .StickyPaywall, .slotpub, .sticky-block');
|
||||
removeDOMElement(...ads);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
|
||||
else if (matchDomain('lequipe.fr')) {
|
||||
let paywall = document.querySelectorAll('.Paywall, .Article__paywall');
|
||||
if (window.location.pathname.includes('/Article/') && paywall.length) {
|
||||
|
|
|
@ -377,6 +377,7 @@
|
|||
"*://*.lejsl.com/*",
|
||||
"*://*.lenouveleconomiste.fr/*",
|
||||
"*://*.leparisien.fr/*",
|
||||
"*://*.lepoint.fr/*",
|
||||
"*://*.leprogres.fr/*",
|
||||
"*://*.lequipe.fr/*",
|
||||
"*://*.lescienze.it/*",
|
||||
|
|
7
sites.js
7
sites.js
|
@ -1128,6 +1128,11 @@ var defaultSites = {
|
|||
block_regex: /\.tinypass\.com\//,
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"Le Point (cached articles only)": {
|
||||
domain: "lepoint.fr",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.poool\.fr\//
|
||||
},
|
||||
"Le Télégramme": {
|
||||
domain: "letelegramme.fr",
|
||||
allow_cookies: 1,
|
||||
|
@ -2459,4 +2464,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', 'lepoint.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', '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);
|
||||
|
|
|
@ -46,6 +46,13 @@
|
|||
"allow_cookies": 1,
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Le Point (cached articles only)": {
|
||||
"domain": "lepoint.fr",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.poool\\.fr\\/",
|
||||
"ld_google_webcache": "div.info-paywall|div.ArticleBody",
|
||||
"new_site": 1
|
||||
},
|
||||
"Mediahuis Noord": {
|
||||
"domain": "###_nl_mediahuis_noord",
|
||||
"group": [
|
||||
|
|
Loading…
Reference in a new issue