mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Add El Periodico de Aragon/Espana
This commit is contained in:
parent
698dab3809
commit
2625b776ed
@ -581,6 +581,8 @@ Grouped in options:\
|
||||
[Diario de Ibiza](https://www.diariodeibiza.es) -
|
||||
[Diario de Mallorca](https://www.diariodemallorca.es) -
|
||||
[El Día](https://www.eldia.es) -
|
||||
[El Periódico de Aragón](https://www.elperiodicodearagon.com) -
|
||||
[El Periódico de España](https://www.ese.es) -
|
||||
[El Periódico Mediterráneo](https://www.elperiodicomediterraneo.com) -
|
||||
[Faro de Vigo](https://www.farodevigo.es) -
|
||||
[Información](https://www.informacion.es) -
|
||||
|
@ -3,6 +3,8 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Diario Cordoba
|
||||
Add El Periodico de Aragon
|
||||
Add El Periodico de Espana
|
||||
Add La Opinion A Coruna
|
||||
Add La Opinion de Zamora
|
||||
Add RedaktionsNetzwerk Deutschland
|
||||
|
@ -8,7 +8,7 @@ var dompurify_loaded = (typeof DOMPurify === 'function');
|
||||
var ca_torstar_domains = ['niagarafallsreview.ca', 'stcatharinesstandard.ca', 'thepeterboroughexaminer.com', 'therecord.com', 'thespec.com', 'thestar.com', 'wellandtribune.ca'];
|
||||
var de_funke_media_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'otz.de', 'thueringer-allgemeine.de', 'tlz.de', 'waz.de', 'wp.de', 'wr.de'];
|
||||
var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de', 'rnd.de'];
|
||||
var es_epiberica_domains = ['diariocordoba.com', 'diariodeibiza.es', 'diariodemallorca.es', 'eldia.es', 'elperiodicomediterraneo.com', 'farodevigo.es', 'informacion.es', 'laopinioncoruna.es', 'laopiniondemalaga.es', 'laopiniondemurcia.es', 'laopiniondezamora.es', 'laprovincia.es', 'levante-emv.com', 'lne.es'];
|
||||
var es_epiberica_domains = ['diariocordoba.com', 'diariodeibiza.es', 'diariodemallorca.es', 'eldia.es', 'elperiodicodearagon.com', 'elperiodicomediterraneo.com', 'epe.es', 'farodevigo.es', 'informacion.es', 'laopinioncoruna.es', 'laopiniondemalaga.es', 'laopiniondemurcia.es', 'laopiniondezamora.es', 'laprovincia.es', 'levante-emv.com', 'lne.es'];
|
||||
var es_grupo_vocento_domains = ['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'];
|
||||
@ -130,7 +130,7 @@ function amp_unhide_subscr_section(amp_ads_sel = 'amp-ad, .ad', replace_iframes
|
||||
}
|
||||
|
||||
function amp_unhide_access_hide(amp_access = '', amp_access_not = '', amp_ads_sel = 'amp-ad, .ad', replace_iframes = true, amp_iframe_link = false, source = '') {
|
||||
let access_hide = document.querySelectorAll('[amp-access' + amp_access + '][amp-access-hide]');
|
||||
let access_hide = document.querySelectorAll('[amp-access' + amp_access + '][amp-access-hide]:not([amp-access="error"], [amp-access^="message"])');
|
||||
for (let elem of access_hide)
|
||||
elem.removeAttribute('amp-access-hide');
|
||||
if (amp_access_not) {
|
||||
@ -1022,7 +1022,7 @@ else if (matchDomain('nyteknik.se')) {
|
||||
else
|
||||
csDone = true;
|
||||
|
||||
} else if (window.location.hostname.match(/\.(es|pt)$/) || matchDomain(['diariocordoba.com', 'diariovasco.com', 'elconfidencial.com', 'elcorreo.com', 'elespanol.com', 'elpais.com', 'elperiodico.com', 'elperiodicomediterraneo.com', 'expansion.com', 'larioja.com', 'levante-emv.com', 'marca.com', 'politicaexterior.com'])) {//spain/portugal
|
||||
} else if (window.location.hostname.match(/\.(es|pt)$/) || matchDomain(['diariocordoba.com', 'diariovasco.com', 'elconfidencial.com', 'elcorreo.com', 'elespanol.com', 'elpais.com', 'elperiodico.com', 'elperiodicodearagon.com', 'elperiodicomediterraneo.com', 'expansion.com', 'larioja.com', 'levante-emv.com', 'marca.com', 'politicaexterior.com'])) {//spain/portugal
|
||||
|
||||
if (matchDomain('abc.es')) {
|
||||
if (window.location.pathname.endsWith('_amp.html')) {
|
||||
@ -1163,8 +1163,10 @@ else if (matchDomain(es_epiberica_domains)) {
|
||||
truncated.classList.remove('article-body--truncated');
|
||||
amp_unhide_access_hide('="NOT access"', '="access"');
|
||||
amp_unhide_access_hide('="FALSE"');
|
||||
} else if (window.location.hostname === 'amp.epe.es') {
|
||||
amp_unhide_access_hide('="loggedIn"', '="NOT loggedIn"', 'amp-ad, amp-embed, amp-next-page');
|
||||
} else {
|
||||
let ads = document.querySelectorAll('div.commercial-up-full__wrapper, div.article-sidebar--sticky');
|
||||
let ads = document.querySelectorAll('div.commercial-up-full__wrapper, div.sidebar--sticky__space, div[data-bbnx-id*="cxense"]');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
}
|
||||
@ -3627,7 +3629,7 @@ else if (matchDomain('wsj.com')) {
|
||||
if (close_button)
|
||||
close_button.click();
|
||||
}
|
||||
let wsj_ads = document.querySelectorAll('div[class*="wsj-ad"]');
|
||||
let wsj_ads = document.querySelectorAll('div[class*="wsj-ad"], div[class*="BodyAdWrapper"]');
|
||||
removeDOMElement(...wsj_ads);
|
||||
if (url.includes('/amp/')) {
|
||||
let masthead_link = document.querySelector('div.masthead > a[href*="/articles/"]');
|
||||
|
@ -197,9 +197,11 @@
|
||||
"*://*.elnortedecastilla.es/*",
|
||||
"*://*.elpais.com/*",
|
||||
"*://*.elperiodico.com/*",
|
||||
"*://*.elperiodicodearagon.com/*",
|
||||
"*://*.elperiodicomediterraneo.com/*",
|
||||
"*://*.eltiempo.com/*",
|
||||
"*://*.entrepreneur.com/*",
|
||||
"*://*.epe.es/*",
|
||||
"*://*.espn.com/*",
|
||||
"*://*.esprit.presse.fr/*",
|
||||
"*://*.esquire.com/*",
|
||||
@ -667,5 +669,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.6.2.4"
|
||||
"version": "2.6.2.5"
|
||||
}
|
||||
|
4
sites.js
4
sites.js
@ -662,7 +662,9 @@ var defaultSites = {
|
||||
"diariodeibiza.es",
|
||||
"diariodemallorca.es",
|
||||
"eldia.es",
|
||||
"elperiodicodearagon.com",
|
||||
"elperiodicomediterraneo.com",
|
||||
"epe.es",
|
||||
"farodevigo.es",
|
||||
"informacion.es",
|
||||
"laopinioncoruna.es",
|
||||
@ -674,7 +676,7 @@ var defaultSites = {
|
||||
"lne.es"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.piano\.io\/|cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|analytics)-.+\.js)/
|
||||
block_regex: /(\.piano\.io\/|cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|analytics)-.+\.js)/
|
||||
},
|
||||
"Grupo Vocento": {
|
||||
domain: "###_es_grupo_vocento",
|
||||
|
Loading…
Reference in New Issue
Block a user