Add elDiario.es & La Nueva Espana (Spain)
parent
49de1b9d9e
commit
a69f61af72
|
@ -370,10 +370,12 @@ Grouped in options:\
|
||||||
|
|
||||||
##### Spain
|
##### Spain
|
||||||
[ABC](https://www.abc.es) -
|
[ABC](https://www.abc.es) -
|
||||||
|
[El Diario.es](https://www.eldiario.es) -
|
||||||
[El Mundo](https://www.elmundo.es) -
|
[El Mundo](https://www.elmundo.es) -
|
||||||
[El País](https://elpais.com) -
|
[El País](https://elpais.com) -
|
||||||
[El Periódico](https://www.elperiodico.com) -
|
[El Periódico de Catalunya](https://www.elperiodico.com) -
|
||||||
[Expansión](https://www.expansion.com) -
|
[Expansión](https://www.expansion.com) -
|
||||||
|
[La Nueva España](https://www.lne.es) -
|
||||||
[La Vanguardia](https://www.lavanguardia.com)\
|
[La Vanguardia](https://www.lavanguardia.com)\
|
||||||
Grouped in options:\
|
Grouped in options:\
|
||||||
Grupo Vocento (ABC) regional sites like
|
Grupo Vocento (ABC) regional sites like
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||||
var ext_name = ext_api.runtime.getManifest().name;
|
var ext_name = ext_api.runtime.getManifest().name;
|
||||||
|
|
||||||
const cs_limit_except = ['afr.com', 'discovermagazine.com', 'elcomercio.pe', 'elpais.com', 'faz.net', 'gestion.pe', 'harpers.org', 'inkl.com', 'la-croix.com', 'lescienze.it', 'newleftreview.org', 'prospectmagazine.co.uk', 'techinasia.com', 'thepointmag.com'];
|
const cs_limit_except = ['afr.com', 'discovermagazine.com', 'elcomercio.pe', 'elpais.com', 'faz.net', 'gestion.pe', 'harpers.org', 'inkl.com', 'la-croix.com', 'lescienze.it', 'lne.es', 'newleftreview.org', 'prospectmagazine.co.uk', 'techinasia.com', 'thepointmag.com'];
|
||||||
var currentTabUrl = '';
|
var currentTabUrl = '';
|
||||||
var csDone = false;
|
var csDone = false;
|
||||||
|
|
||||||
|
@ -78,6 +78,7 @@ var allow_cookies_default = [
|
||||||
'lejdd.fr',
|
'lejdd.fr',
|
||||||
'lesechos.fr',
|
'lesechos.fr',
|
||||||
'limesonline.com',
|
'limesonline.com',
|
||||||
|
'lne.es',
|
||||||
'lrb.co.uk',
|
'lrb.co.uk',
|
||||||
'modernhealthcare.com',
|
'modernhealthcare.com',
|
||||||
'nationalgeographic.com',
|
'nationalgeographic.com',
|
||||||
|
@ -265,6 +266,7 @@ var blockedRegexes = {
|
||||||
'lesechos.fr': /\.tinypass\.com\/.+/,
|
'lesechos.fr': /\.tinypass\.com\/.+/,
|
||||||
'limesonline.com': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
'limesonline.com': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
||||||
'livemint.com': /(.+\.livemint\.com\/js\/localWorker\.js|analytics\.htmedia\.in\/analytics-js\/.+\.js)/,
|
'livemint.com': /(.+\.livemint\.com\/js\/localWorker\.js|analytics\.htmedia\.in\/analytics-js\/.+\.js)/,
|
||||||
|
'lne.es': /cdn\.ampproject\.org\/v\d\/amp-(access|consent)-.+\.js/,
|
||||||
'lopinion.fr': /.+\.poool\.fr\/.+/,
|
'lopinion.fr': /.+\.poool\.fr\/.+/,
|
||||||
'lrb.co.uk': /\.tinypass\.com\/.+/,
|
'lrb.co.uk': /\.tinypass\.com\/.+/,
|
||||||
'marketwatch.com': /cdn\.cxense\.com\/.+/,
|
'marketwatch.com': /cdn\.cxense\.com\/.+/,
|
||||||
|
@ -826,7 +828,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||||
let usa_discmag_site = (matchUrlDomain('ctfassets.net', details.url) && matchUrlDomain('discovermagazine.com', header_referer) && isSiteEnabled({url: header_referer}));
|
let usa_discmag_site = (matchUrlDomain('ctfassets.net', details.url) && matchUrlDomain('discovermagazine.com', header_referer) && isSiteEnabled({url: header_referer}));
|
||||||
|
|
||||||
let bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && isSiteEnabled({url: header_referer}) &&
|
let bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && isSiteEnabled({url: header_referer}) &&
|
||||||
matchUrlDomain(['barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elmundo.es', 'elpais.com', 'elperiodico.com', 'expansion.com', 'freiepresse.de', 'fresnobee.com', 'gelocal.it', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'nationalreview.com', 'sacbee.com', 'seekingalpha.com', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk'].concat(au_nine_domains, es_grupo_vocento_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains), header_referer));
|
matchUrlDomain(['barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elmundo.es', 'elpais.com', 'elperiodico.com', 'expansion.com', 'freiepresse.de', 'fresnobee.com', 'gelocal.it', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'lne.es', 'nationalreview.com', 'sacbee.com', 'seekingalpha.com', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk'].concat(au_nine_domains, es_grupo_vocento_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains), header_referer));
|
||||||
|
|
||||||
if (!isSiteEnabled(details) && !inkl_site && !au_nc_amp_site && !au_apn_site && !au_swm_site && !uk_nlr_site && !usa_discmag_site && !bpc_amp_site) {
|
if (!isSiteEnabled(details) && !inkl_site && !au_nc_amp_site && !au_apn_site && !au_swm_site && !uk_nlr_site && !usa_discmag_site && !bpc_amp_site) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -4,6 +4,8 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||||
Post-release
|
Post-release
|
||||||
Add Ambito (Argentina)
|
Add Ambito (Argentina)
|
||||||
Add Correio da Manha (Portugal)
|
Add Correio da Manha (Portugal)
|
||||||
|
Add elDiario.es (Spain)
|
||||||
|
Add La Nueva Espana (Spain)
|
||||||
Add Observador (Portugal)
|
Add Observador (Portugal)
|
||||||
Add Prospect Magazine (United Kingdom)
|
Add Prospect Magazine (United Kingdom)
|
||||||
Add Ruhr Nachrichten (Germany)
|
Add Ruhr Nachrichten (Germany)
|
||||||
|
|
|
@ -1952,6 +1952,23 @@ else if (matchDomain('thepointmag.com')) {
|
||||||
removeDOMElement(elem);
|
removeDOMElement(elem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('lne.es')) {
|
||||||
|
let premium = document.querySelector('body.premium');
|
||||||
|
let url = window.location.href;
|
||||||
|
window.setTimeout(function () {
|
||||||
|
if (premium && !url.includes('.amp.html')) {
|
||||||
|
window.location.href = url.replace('.html', '.amp.html');
|
||||||
|
}
|
||||||
|
}, 500); // Delay (in milliseconds)
|
||||||
|
if (url.includes('.amp.html')) {
|
||||||
|
let section_hidden = document.querySelector('div[amp-access="access"]');
|
||||||
|
if (section_hidden)
|
||||||
|
section_hidden.removeAttribute('amp-access-hide');
|
||||||
|
let not_subscriber = document.querySelector('div[amp-access="NOT access"]');
|
||||||
|
removeDOMElement(not_subscriber);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
|
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
|
||||||
csDone = true;
|
csDone = true;
|
||||||
|
|
||||||
|
|
|
@ -110,6 +110,7 @@
|
||||||
"*://*.elcomercio.es/*",
|
"*://*.elcomercio.es/*",
|
||||||
"*://*.elcomercio.pe/*",
|
"*://*.elcomercio.pe/*",
|
||||||
"*://*.elcorreo.com/*",
|
"*://*.elcorreo.com/*",
|
||||||
|
"*://*.eldiario.es/*",
|
||||||
"*://*.eldiariomontanes.es/*",
|
"*://*.eldiariomontanes.es/*",
|
||||||
"*://*.elmercurio.com/*",
|
"*://*.elmercurio.com/*",
|
||||||
"*://*.elmundo.es/*",
|
"*://*.elmundo.es/*",
|
||||||
|
@ -221,6 +222,7 @@
|
||||||
"*://*.lindependant.fr/*",
|
"*://*.lindependant.fr/*",
|
||||||
"*://*.livemint.com/*",
|
"*://*.livemint.com/*",
|
||||||
"*://*.ln-online.de/*",
|
"*://*.ln-online.de/*",
|
||||||
|
"*://*.lne.es/*",
|
||||||
"*://*.loebclassics.com/*",
|
"*://*.loebclassics.com/*",
|
||||||
"*://*.lopinion.fr/*",
|
"*://*.lopinion.fr/*",
|
||||||
"*://*.lorientlejour.com/*",
|
"*://*.lorientlejour.com/*",
|
||||||
|
@ -425,5 +427,5 @@
|
||||||
"*://*.stripe.com/*",
|
"*://*.stripe.com/*",
|
||||||
"*://*.userzoom.com/*"
|
"*://*.userzoom.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.0.4.6"
|
"version": "2.0.4.7"
|
||||||
}
|
}
|
4
sites.js
4
sites.js
|
@ -48,11 +48,12 @@ var defaultSites =
|
||||||
"Discover Magazine": "discovermagazine.com",
|
"Discover Magazine": "discovermagazine.com",
|
||||||
"Domani": "editorialedomani.it",
|
"Domani": "editorialedomani.it",
|
||||||
"El Comercio": "elcomercio.pe",
|
"El Comercio": "elcomercio.pe",
|
||||||
|
"El Diario.es": "eldiario.es",
|
||||||
"El Mercurio": "elmercurio.com",
|
"El Mercurio": "elmercurio.com",
|
||||||
"El Mercurio de Valparaíso": "mercuriovalpo.cl",
|
"El Mercurio de Valparaíso": "mercuriovalpo.cl",
|
||||||
"El Mundo": "elmundo.es",
|
"El Mundo": "elmundo.es",
|
||||||
"El País": "elpais.com",
|
"El País": "elpais.com",
|
||||||
"El Periódico": "elperiodico.com",
|
"El Periódico (de Catalunya)": "elperiodico.com",
|
||||||
"Encyclopedia Britannica": "britannica.com",
|
"Encyclopedia Britannica": "britannica.com",
|
||||||
"Esprit": "esprit.presse.fr",
|
"Esprit": "esprit.presse.fr",
|
||||||
"EUobserver": "euobserver.com",
|
"EUobserver": "euobserver.com",
|
||||||
|
@ -110,6 +111,7 @@ var defaultSites =
|
||||||
"La Croix": "la-croix.com",
|
"La Croix": "la-croix.com",
|
||||||
"La Estrella de Valparaíso": "estrellavalpo.cl",
|
"La Estrella de Valparaíso": "estrellavalpo.cl",
|
||||||
"La Nación": "lanacion.com.ar",
|
"La Nación": "lanacion.com.ar",
|
||||||
|
"La Nueva España": "lne.es",
|
||||||
"La Nuova Sardegna": "lanuovasardegna.it",
|
"La Nuova Sardegna": "lanuovasardegna.it",
|
||||||
"La Repubblica": "repubblica.it",
|
"La Repubblica": "repubblica.it",
|
||||||
"La Segunda": "lasegunda.com",
|
"La Segunda": "lasegunda.com",
|
||||||
|
|
Loading…
Reference in New Issue