mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Remove Alma Talent sites (hold Iltalehti.fi)
This commit is contained in:
parent
1532cab148
commit
b23576021e
6 changed files with 14 additions and 52 deletions
17
README.md
17
README.md
|
@ -394,24 +394,11 @@ Grouped in options:\
|
|||
[UnHerd](https://unherd.com)
|
||||
|
||||
##### Denmark
|
||||
|
||||
[Berlingske](https://www.berlingske.dk)
|
||||
|
||||
##### Finland
|
||||
[Suomen Sotilas](https://suomensotilas.fi)
|
||||
|
||||
Grouped in options:\
|
||||
*Alma Talent* sites like\
|
||||
[Arvopaperi](https://www.arvopaperi.fi) -
|
||||
[Iltalehti](https://www.iltalehti.fi) -
|
||||
[Kauppalehti](https://www.kauppalehti.fi) -
|
||||
[Markkinointi & Mainonta](https://www.marmai.fi) -
|
||||
[Mediuutiset](https://www.mediuutiset.fi) -
|
||||
[Mikrobitti](https://www.mikrobitti.fi) -
|
||||
[Talouselämä](https://www.talouselama.fi) -
|
||||
[Tekniikka & Talous](https://www.tekniikkatalous.fi) -
|
||||
[Tivi](https://www.tivi.fi) -
|
||||
[Uusi Suomi](https://www.uusisuomi.fi)
|
||||
[Suomen Sotilas](https://suomensotilas.fi) -
|
||||
[Iltalehti](https://www.iltalehti.fi)
|
||||
|
||||
##### France/Wallonia
|
||||
[60 Millions de consommateurs](https://www.60millions-mag.com) -
|
||||
|
|
|
@ -360,7 +360,9 @@ ext_api.storage.local.get({
|
|||
ext_api.management.getSelf(function (result) {
|
||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||
let new_groups = ['###_de_rp_medien', '###_de_westfalen_medien', '###_es_grupo_vocento', '###_es_unidad', '###_fr_gcf', '###_it_gedi', '###_nl_dpg_media', '###_usa_chronicle', '###_usa_genomeweb'];
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) || (!enabledSites.includes('uol.com.br') && (enabledSites.includes('crusoe.uol.com.br') || enabledSites.includes('###_br_folha')));
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain)))
|
||||
|| (!enabledSites.includes('uol.com.br') && (enabledSites.includes('crusoe.uol.com.br') || enabledSites.includes('###_br_folha')))
|
||||
|| (!enabledSites.includes('iltalehti.fi') && enabledSites('###_fi_alma_talent'));
|
||||
if (open_options)
|
||||
ext_api.runtime.openOptionsPage();
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Remove Alma Talent sites (hold Iltalehti.fi)
|
||||
Fix Corriere dello Sport (subdomains)
|
||||
|
||||
* v2.8.7.0 (2022-10-02)
|
||||
|
|
|
@ -15,7 +15,6 @@ var es_epiberica_domains = ['diariodemallorca.es', 'eldia.es', 'epe.es', 'farode
|
|||
var es_epiberica_custom_domains = ['diaridegirona.cat', 'diariocordoba.com', 'diariodeibiza.es', 'elperiodicodearagon.com', 'elperiodicoextremadura.com', 'elperiodicomediterraneo.com', 'emporda.info', 'laopinioncoruna.es', 'laopiniondemalaga.es', 'laopiniondemurcia.es', 'laopiniondezamora.es', 'regio7.cat'];
|
||||
var es_grupo_vocento_domains = ['abc.es', 'diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'lasprovincias.es', 'laverdad.es', 'lavozdigital.es'];
|
||||
var es_unidad_domains = ['elmundo.es', 'expansion.com', 'marca.com'];
|
||||
var fi_alma_talent_domains = ['arvopaperi.fi', 'iltalehti.fi', 'kauppalehti.fi', 'marmai.fi', 'mediuutiset.fi', 'mikrobitti.fi', 'talouselama.fi', 'tekniikkatalous.fi', 'tivi.fi', 'uusisuomi.fi'];
|
||||
var fr_be_groupe_rossel = ['aisnenouvelle.fr', 'courrier-picard.fr', 'lardennais.fr', 'lavoixdunord.fr', 'lesoir.be', 'lest-eclair.fr', 'liberation-champagne.fr', 'lunion.fr', 'nordeclair.fr', 'nordlittoral.fr', 'paris-normandie.fr', 'sudinfo.be'];
|
||||
var fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
|
||||
var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midi-olympique.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr'];
|
||||
|
@ -819,11 +818,11 @@ else
|
|||
|
||||
} else if (window.location.hostname.match(/\.(dk|fi|no|se)$/)) {//denmark/finland/norway/sweden
|
||||
|
||||
if (matchDomain(fi_alma_talent_domains)) {
|
||||
if (matchDomain('iltalehti.fi')) {
|
||||
let ads = document.querySelectorAll('div[class^="p2m385-"], div#anop-container, .ad, div.iZivCJ');
|
||||
for (let ad of ads)
|
||||
ad.setAttribute('style', 'display:none;');
|
||||
if (matchDomain('iltalehti.fi')) {
|
||||
if (true) {
|
||||
let paywall = document.querySelector('div.faded-text');
|
||||
if (paywall && dompurify_loaded) {
|
||||
let scripts = document.querySelectorAll('script');
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
"*://*.arcinfo.ch/*",
|
||||
"*://*.artforum.com/*",
|
||||
"*://*.artnet.com/*",
|
||||
"*://*.arvopaperi.fi/*",
|
||||
"*://*.asiatimes.com/*",
|
||||
"*://*.atavist.com/*",
|
||||
"*://*.atlantico.fr/*",
|
||||
|
@ -319,7 +318,6 @@
|
|||
"*://*.jsonline.com/*",
|
||||
"*://*.kansas.com/*",
|
||||
"*://*.kansascity.com/*",
|
||||
"*://*.kauppalehti.fi/*",
|
||||
"*://*.kentucky.com/*",
|
||||
"*://*.kn-online.de/*",
|
||||
"*://*.knack.be/*",
|
||||
|
@ -398,13 +396,11 @@
|
|||
"*://*.marca.com/*",
|
||||
"*://*.marianne.net/*",
|
||||
"*://*.marketwatch.com/*",
|
||||
"*://*.marmai.fi/*",
|
||||
"*://*.masslive.com/*",
|
||||
"*://*.maz-online.de/*",
|
||||
"*://*.mcall.com/*",
|
||||
"*://*.medianama.com/*",
|
||||
"*://*.medium.com/*",
|
||||
"*://*.mediuutiset.fi/*",
|
||||
"*://*.menshealth.com/*",
|
||||
"*://*.mercurynews.com/*",
|
||||
"*://*.mexiconewsdaily.com/*",
|
||||
|
@ -412,7 +408,6 @@
|
|||
"*://*.mid-day.com/*",
|
||||
"*://*.midi-olympique.fr/*",
|
||||
"*://*.midilibre.fr/*",
|
||||
"*://*.mikrobitti.fi/*",
|
||||
"*://*.mlive.com/*",
|
||||
"*://*.modernhealthcare.com/*",
|
||||
"*://*.monacomatin.mc/*",
|
||||
|
@ -561,11 +556,9 @@
|
|||
"*://*.suomensotilas.fi/*",
|
||||
"*://*.svz.de/*",
|
||||
"*://*.syracuse.com/*",
|
||||
"*://*.talouselama.fi/*",
|
||||
"*://*.tampabay.com/*",
|
||||
"*://*.techinasia.com/*",
|
||||
"*://*.technologyreview.com/*",
|
||||
"*://*.tekniikkatalous.fi/*",
|
||||
"*://*.telegraaf.nl/*",
|
||||
"*://*.telegraph.co.uk/*",
|
||||
"*://*.telerama.fr/*",
|
||||
|
@ -616,7 +609,6 @@
|
|||
"*://*.timeshighereducation.com/*",
|
||||
"*://*.timesofindia.com/*",
|
||||
"*://*.timesofindia.indiatimes.com/*",
|
||||
"*://*.tivi.fi/*",
|
||||
"*://*.tlz.de/*",
|
||||
"*://*.torontosun.com/*",
|
||||
"*://*.towardsdatascience.com/*",
|
||||
|
@ -636,7 +628,6 @@
|
|||
"*://*.upstreamonline.com/*",
|
||||
"*://*.usatoday.com/*",
|
||||
"*://*.usinenouvelle.com/*",
|
||||
"*://*.uusisuomi.fi/*",
|
||||
"*://*.valeursactuelles.com/*",
|
||||
"*://*.vancouversun.com/*",
|
||||
"*://*.vanityfair.com/*",
|
||||
|
@ -722,5 +713,5 @@
|
|||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.8.7.1"
|
||||
"version": "2.8.7.2"
|
||||
}
|
||||
|
|
28
sites.js
28
sites.js
|
@ -33,28 +33,6 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/
|
||||
},
|
||||
"Alma Talent (Finland)": {
|
||||
domain: "###_fi_alma_talent",
|
||||
group: [
|
||||
"arvopaperi.fi",
|
||||
"iltalehti.fi",
|
||||
"kauppalehti.fi",
|
||||
"marmai.fi",
|
||||
"mediuutiset.fi",
|
||||
"mikrobitti.fi",
|
||||
"talouselama.fi",
|
||||
"tekniikkatalous.fi",
|
||||
"tivi.fi",
|
||||
"uusisuomi.fi"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
useragent: "googlebot",
|
||||
exception: [{
|
||||
domain: "iltalehti.fi",
|
||||
allow_cookies: 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"Alternatives Economiques": {
|
||||
domain: "alternatives-economiques.fr",
|
||||
block_regex: /\.poool\.fr\//
|
||||
|
@ -874,6 +852,10 @@ var defaultSites = {
|
|||
"Il Tirreno": {
|
||||
domain: "iltirreno.it"
|
||||
},
|
||||
"Iltalehti": {
|
||||
domain: "iltalehti.fi",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Inc.com": {
|
||||
domain: "inc.com",
|
||||
block_regex: /\.tinypass\.com\//
|
||||
|
@ -2268,4 +2250,4 @@ init_custom_domains();
|
|||
|
||||
// sites with no fix (background)
|
||||
var nl_dpg_media_nofix_domains = ['ad.nl', 'bd.nl', 'bndestem.nl', 'destentor.nl', 'ed.nl', 'gelderlander.nl', 'hln.be', 'pzc.nl', 'tubantia.nl'];
|
||||
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nbr.co.nz', 'nieuwsblad.be', 'ouest-france.fr', 'politiken.dk', 'publico.pt', 'republic.ru', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(nl_dpg_media_nofix_domains);
|
||||
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeunesafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nbr.co.nz', 'nieuwsblad.be', 'ouest-france.fr', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(nl_dpg_media_nofix_domains);
|
||||
|
|
Loading…
Reference in a new issue