mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:57:48 +01:00
Add Alma Talent sites (Finland)
This commit is contained in:
parent
b61adfd01d
commit
64b7298334
5 changed files with 55 additions and 2 deletions
10
README.md
10
README.md
|
@ -151,6 +151,16 @@ Visit the [Chrome repository](https://gitlab.com/magnolia1234/bypass-paywalls-ch
|
||||||
[The Times Literary Supplement](https://www.the-tls.co.uk)
|
[The Times Literary Supplement](https://www.the-tls.co.uk)
|
||||||
|
|
||||||
##### Finland
|
##### Finland
|
||||||
|
Alma Talent sites (grouped in options) like
|
||||||
|
[Arvopaperi](https://www.arvopaperi.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)\
|
||||||
[Helsingin Sanomat](https://www.hs.fi)
|
[Helsingin Sanomat](https://www.hs.fi)
|
||||||
|
|
||||||
##### France/Wallonia
|
##### France/Wallonia
|
||||||
|
|
|
@ -113,6 +113,7 @@ var remove_cookies = [
|
||||||
// select specific cookie(s) to hold from remove_cookies domains
|
// select specific cookie(s) to hold from remove_cookies domains
|
||||||
const remove_cookies_select_hold = {
|
const remove_cookies_select_hold = {
|
||||||
'barrons.com': ['wsjregion'],
|
'barrons.com': ['wsjregion'],
|
||||||
|
'groene.nl': ['accept-cookies', 'popunder-hidden'],
|
||||||
'newstatesman.com': ['STYXKEY_nsversion'],
|
'newstatesman.com': ['STYXKEY_nsversion'],
|
||||||
'seattletimes.com': ['st_newsletter_splash_seen'],
|
'seattletimes.com': ['st_newsletter_splash_seen'],
|
||||||
'telegraph.co.uk': ['consentUUID'],
|
'telegraph.co.uk': ['consentUUID'],
|
||||||
|
@ -284,6 +285,7 @@ const au_comm_media_domains = ['bendigoadvertiser.com.au', 'bordermail.com.au',
|
||||||
const au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
|
const au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
|
||||||
const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'northernstar.com.au', 'qt.com.au', 'thechronicle.com.au', 'warwickdailynews.com.au'];
|
const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'northernstar.com.au', 'qt.com.au', 'thechronicle.com.au', 'warwickdailynews.com.au'];
|
||||||
const es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'larioja.com', 'laverdad.es'];
|
const es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'larioja.com', 'laverdad.es'];
|
||||||
|
const fi_alma_talent_domains = ['arvopaperi.fi', 'kauppalehti.fi', 'marmai.fi', 'mediuutiset.fi', 'mikrobitti.fi', 'talouselama.fi', 'tekniikkatalous.fi', 'tivi.fi', 'uusisuomi.fi'];
|
||||||
const ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'quotidianodipuglia.it'];
|
const ilmessaggero_domains = ['corriereadriatico.it', 'ilgazzettino.it', 'ilmattino.it', 'quotidianodipuglia.it'];
|
||||||
const nymag_domains = ['grubstreet.com', 'thecut.com', 'vulture.com'];
|
const nymag_domains = ['grubstreet.com', 'thecut.com', 'vulture.com'];
|
||||||
// pg_domains has only grouped remove_cookies_select_drop rules
|
// pg_domains has only grouped remove_cookies_select_drop rules
|
||||||
|
@ -298,7 +300,7 @@ const userAgentMobileB = "Chrome/80.0.3987.92 Mobile Safari/537.36 (compatible;
|
||||||
var enabledSites = [];
|
var enabledSites = [];
|
||||||
var disabledSites = [];
|
var disabledSites = [];
|
||||||
var defaultSites_grouped_domains = Object.values(defaultSites);
|
var defaultSites_grouped_domains = Object.values(defaultSites);
|
||||||
var defaultSites_domains = defaultSites_grouped_domains.concat(ad_region_domains, au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, es_grupo_vocento_domains, ilmessaggero_domains, nymag_domains);
|
var defaultSites_domains = defaultSites_grouped_domains.concat(ad_region_domains, au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, es_grupo_vocento_domains, fi_alma_talent_domains, ilmessaggero_domains, nymag_domains);
|
||||||
var customSites = {};
|
var customSites = {};
|
||||||
var customSites_domains = [];
|
var customSites_domains = [];
|
||||||
|
|
||||||
|
@ -310,6 +312,29 @@ function setDefaultOptions() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// copy storage.sync to storage.local (quota exceeded)
|
||||||
|
ext_api.storage.sync.get({
|
||||||
|
sites: {},
|
||||||
|
sites_custom: {},
|
||||||
|
daily_users: {},
|
||||||
|
optIn: {},
|
||||||
|
optInShown: {},
|
||||||
|
customShown: {}
|
||||||
|
}, function (items) {
|
||||||
|
if (Object.keys(items.sites).length > 0) {
|
||||||
|
ext_api.storage.local.set({
|
||||||
|
sites: items.sites,
|
||||||
|
sites_custom: items.sites_custom,
|
||||||
|
daily_users: items.daily_users,
|
||||||
|
optIn: items.optIn,
|
||||||
|
optInShown: items.optInShown,
|
||||||
|
customShown: items.customShown
|
||||||
|
}, function () {
|
||||||
|
ext_api.storage.sync.remove(['sites', 'sites_custom']);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// add grouped sites to en/disabledSites & init rules (optional)
|
// add grouped sites to en/disabledSites & init rules (optional)
|
||||||
function add_grouped_sites(init_rules) {
|
function add_grouped_sites(init_rules) {
|
||||||
if (init_rules) {
|
if (init_rules) {
|
||||||
|
@ -332,6 +357,9 @@ function add_grouped_sites(init_rules) {
|
||||||
allow_cookies.push(domain);
|
allow_cookies.push(domain);
|
||||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/;
|
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/;
|
||||||
}
|
}
|
||||||
|
for (let domain of fi_alma_talent_domains) {
|
||||||
|
use_google_bot.push(domain);
|
||||||
|
}
|
||||||
for (let domain of ilmessaggero_domains)
|
for (let domain of ilmessaggero_domains)
|
||||||
blockedRegexes[domain] = /utils\.cedsdigital\.it\/js\/PaywallMeter\.js/;
|
blockedRegexes[domain] = /utils\.cedsdigital\.it\/js\/PaywallMeter\.js/;
|
||||||
for (let domain of pg_domains)
|
for (let domain of pg_domains)
|
||||||
|
@ -357,6 +385,10 @@ function add_grouped_sites(init_rules) {
|
||||||
enabledSites = enabledSites.concat(es_grupo_vocento_domains);
|
enabledSites = enabledSites.concat(es_grupo_vocento_domains);
|
||||||
else
|
else
|
||||||
disabledSites = disabledSites.concat(es_grupo_vocento_domains);
|
disabledSites = disabledSites.concat(es_grupo_vocento_domains);
|
||||||
|
if (enabledSites.includes('###_fi_alma_talent'))
|
||||||
|
enabledSites = enabledSites.concat(fi_alma_talent_domains);
|
||||||
|
else
|
||||||
|
disabledSites = disabledSites.concat(fi_alma_talent_domains);
|
||||||
if (enabledSites.includes('ilmessaggero.it'))
|
if (enabledSites.includes('ilmessaggero.it'))
|
||||||
enabledSites = enabledSites.concat(ilmessaggero_domains);
|
enabledSites = enabledSites.concat(ilmessaggero_domains);
|
||||||
else
|
else
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Alma Talent sites (Finland)
|
||||||
Add El Periodico (Spain)
|
Add El Periodico (Spain)
|
||||||
Add Grupo Vocento (Spain, regional daily)
|
Add Grupo Vocento (Spain, regional daily)
|
||||||
Add La Croix (France)
|
Add La Croix (France)
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
"*://*.alternatives-economiques.fr/*",
|
"*://*.alternatives-economiques.fr/*",
|
||||||
"*://*.americanaffairsjournal.org/*",
|
"*://*.americanaffairsjournal.org/*",
|
||||||
"*://*.americanbanker.com/*",
|
"*://*.americanbanker.com/*",
|
||||||
|
"*://*.arvopaperi.fi/*",
|
||||||
"*://*.asia.nikkei.com/*",
|
"*://*.asia.nikkei.com/*",
|
||||||
"*://*.atavist.com/*",
|
"*://*.atavist.com/*",
|
||||||
"*://*.baltimoresun.com/*",
|
"*://*.baltimoresun.com/*",
|
||||||
|
@ -174,6 +175,7 @@
|
||||||
"*://*.japantimes.co.jp/*",
|
"*://*.japantimes.co.jp/*",
|
||||||
"*://*.journaldunet.com/*",
|
"*://*.journaldunet.com/*",
|
||||||
"*://*.journalnow.com/*",
|
"*://*.journalnow.com/*",
|
||||||
|
"*://*.kauppalehti.fi/*",
|
||||||
"*://*.knack.be/*",
|
"*://*.knack.be/*",
|
||||||
"*://*.kurier.at/*",
|
"*://*.kurier.at/*",
|
||||||
"*://*.la-croix.com/*",
|
"*://*.la-croix.com/*",
|
||||||
|
@ -204,12 +206,15 @@
|
||||||
"*://*.lrb.co.uk/*",
|
"*://*.lrb.co.uk/*",
|
||||||
"*://*.lvz.de/*",
|
"*://*.lvz.de/*",
|
||||||
"*://*.marketwatch.com/*",
|
"*://*.marketwatch.com/*",
|
||||||
|
"*://*.marmai.fi/*",
|
||||||
"*://*.mcall.com/*",
|
"*://*.mcall.com/*",
|
||||||
"*://*.medium.com/*",
|
"*://*.medium.com/*",
|
||||||
|
"*://*.mediuutiset.fi/*",
|
||||||
"*://*.mercuriovalpo.cl/*",
|
"*://*.mercuriovalpo.cl/*",
|
||||||
"*://*.mercurynews.com/*",
|
"*://*.mercurynews.com/*",
|
||||||
"*://*.mexiconewsdaily.com/*",
|
"*://*.mexiconewsdaily.com/*",
|
||||||
"*://*.miamiherald.com/*",
|
"*://*.miamiherald.com/*",
|
||||||
|
"*://*.mikrobitti.fi/*",
|
||||||
"*://*.modernhealthcare.com/*",
|
"*://*.modernhealthcare.com/*",
|
||||||
"*://*.mv-voice.com/*",
|
"*://*.mv-voice.com/*",
|
||||||
"*://*.nationalgeographic.com/*",
|
"*://*.nationalgeographic.com/*",
|
||||||
|
@ -276,8 +281,10 @@
|
||||||
"*://*.sueddeutsche.de/*",
|
"*://*.sueddeutsche.de/*",
|
||||||
"*://*.sun-sentinel.com/*",
|
"*://*.sun-sentinel.com/*",
|
||||||
"*://*.sunshinecoastdaily.com.au/*",
|
"*://*.sunshinecoastdaily.com.au/*",
|
||||||
|
"*://*.talouselama.fi/*",
|
||||||
"*://*.techinasia.com/*",
|
"*://*.techinasia.com/*",
|
||||||
"*://*.technologyreview.com/*",
|
"*://*.technologyreview.com/*",
|
||||||
|
"*://*.tekniikkatalous.fi/*",
|
||||||
"*://*.telegraaf.nl/*",
|
"*://*.telegraaf.nl/*",
|
||||||
"*://*.telegraph.co.uk/*",
|
"*://*.telegraph.co.uk/*",
|
||||||
"*://*.the-american-interest.com/*",
|
"*://*.the-american-interest.com/*",
|
||||||
|
@ -305,10 +312,12 @@
|
||||||
"*://*.thewest.com.au/*",
|
"*://*.thewest.com.au/*",
|
||||||
"*://*.tijd.be/*",
|
"*://*.tijd.be/*",
|
||||||
"*://*.timeshighereducation.com/*",
|
"*://*.timeshighereducation.com/*",
|
||||||
|
"*://*.tivi.fi/*",
|
||||||
"*://*.towardsdatascience.com/*",
|
"*://*.towardsdatascience.com/*",
|
||||||
"*://*.townsvillebulletin.com.au/*",
|
"*://*.townsvillebulletin.com.au/*",
|
||||||
"*://*.trouw.nl/*",
|
"*://*.trouw.nl/*",
|
||||||
"*://*.tubantia.nl/*",
|
"*://*.tubantia.nl/*",
|
||||||
|
"*://*.uusisuomi.fi/*",
|
||||||
"*://*.valeursactuelles.com/*",
|
"*://*.valeursactuelles.com/*",
|
||||||
"*://*.vanityfair.com/*",
|
"*://*.vanityfair.com/*",
|
||||||
"*://*.variety.com/*",
|
"*://*.variety.com/*",
|
||||||
|
@ -358,5 +367,5 @@
|
||||||
"*://*.repstatic.it/*",
|
"*://*.repstatic.it/*",
|
||||||
"*://*.userzoom.com/*"
|
"*://*.userzoom.com/*"
|
||||||
],
|
],
|
||||||
"version": "1.9.6.7"
|
"version": "1.9.6.8"
|
||||||
}
|
}
|
1
sites.js
1
sites.js
|
@ -4,6 +4,7 @@ var defaultSites =
|
||||||
"Adweek": "adweek.com",
|
"Adweek": "adweek.com",
|
||||||
"Aftonbladet": "aftonbladet.se",
|
"Aftonbladet": "aftonbladet.se",
|
||||||
"Algemeen Dagblad (+ regional)": "ad.nl",
|
"Algemeen Dagblad (+ regional)": "ad.nl",
|
||||||
|
"Alma Talent (Finland)": "###_fi_alma_talent",
|
||||||
"Alternatives Economiques": "alternatives-economiques.fr",
|
"Alternatives Economiques": "alternatives-economiques.fr",
|
||||||
"American Affairs": "americanaffairsjournal.org",
|
"American Affairs": "americanaffairsjournal.org",
|
||||||
"American Banker": "americanbanker.com",
|
"American Banker": "americanbanker.com",
|
||||||
|
|
Loading…
Reference in a new issue