Add La Opinion de Malaga

This commit is contained in:
magnolia1234 2022-03-01 18:50:33 +01:00
parent 23c8f4b519
commit b36a3c2bea
6 changed files with 31 additions and 5 deletions

View File

@ -549,6 +549,7 @@ Grouped in options:\
[Faro de Vigo](https://www.farodevigo.es) - [Faro de Vigo](https://www.farodevigo.es) -
[Información](https://www.informacion.es) - [Información](https://www.informacion.es) -
[La Nueva España](https://www.lne.es) - [La Nueva España](https://www.lne.es) -
[La Opinión de Málaga](https://www.laopiniondemalaga.es) -
[La Opinión de Murcia](https://www.laopiniondemurcia.es) - [La Opinión de Murcia](https://www.laopiniondemurcia.es) -
[La Provincia](https://www.laprovincia.es) - [La Provincia](https://www.laprovincia.es) -
[Levante-EMV](https://www.levante-emv.com)\ [Levante-EMV](https://www.levante-emv.com)\

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add La Opinion de Malaga
Fix Iltalehti.fi (Youtube video/image no source) Fix Iltalehti.fi (Youtube video/image no source)
* v2.5.8.0 (2022-02-27) * v2.5.8.0 (2022-02-27)

View File

@ -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 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_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']; var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de'];
var es_epiberica_domains = ['diariodeibiza.es', 'diariodemallorca.es', 'eldia.es', 'elperiodicomediterraneo.com', 'farodevigo.es', 'informacion.es', 'laopiniondemurcia.es', 'laprovincia.es', 'levante-emv.com', 'lne.es']; var es_epiberica_domains = ['diariodeibiza.es', 'diariodemallorca.es', 'eldia.es', 'elperiodicomediterraneo.com', 'farodevigo.es', 'informacion.es', 'laopiniondemalaga.es', 'laopiniondemurcia.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_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 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 fi_alma_talent_domains = ['arvopaperi.fi', 'iltalehti.fi', 'kauppalehti.fi', 'marmai.fi', 'mediuutiset.fi', 'mikrobitti.fi', 'talouselama.fi', 'tekniikkatalous.fi', 'tivi.fi', 'uusisuomi.fi'];
@ -661,10 +661,15 @@ else if (matchDomain(['westfalen-blatt.de', 'wn.de'])) {
if (url.includes('/amp/')) { if (url.includes('/amp/')) {
amp_unhide_subscr_section('amp-ad, amp-embed, section[class^="fp-ad"]'); amp_unhide_subscr_section('amp-ad, amp-embed, section[class^="fp-ad"]');
} else { } else {
let paywall = document.querySelector('.fp-article-paywall'); let paywall = document.querySelector('.fp-article-paywall-dialog, .fp-article-paywall');
if (paywall) { if (paywall) {
removeDOMElement(paywall); removeDOMElement(paywall);
if (!url.includes('/fotos/')) let gallery_no_amp = false;
if (matchDomain('westfalen-blatt.de')) {
let article_body = document.querySelector('.fp-article__body');
gallery_no_amp = url.includes('/fotos/') || (!article_body && document.querySelector('.fp-gallery-carousel'));
}
if (!gallery_no_amp)
window.location.href = url.replace('.de/', '.de/amp/'); window.location.href = url.replace('.de/', '.de/amp/');
} }
} }
@ -1081,6 +1086,9 @@ else if (matchDomain(es_epiberica_domains)) {
if (window.location.href.includes('.amp.html')) { if (window.location.href.includes('.amp.html')) {
amp_unhide_access_hide('="NOT access"', '="access"'); amp_unhide_access_hide('="NOT access"', '="access"');
amp_unhide_access_hide('="FALSE"'); amp_unhide_access_hide('="FALSE"');
} else {
let ads = document.querySelectorAll('div.commercial-up-full__wrapper, div.article-sidebar--sticky');
removeDOMElement(...ads);
} }
} }

View File

@ -299,6 +299,7 @@
"*://*.lanazione.it/*", "*://*.lanazione.it/*",
"*://*.lanouvellerepublique.fr/*", "*://*.lanouvellerepublique.fr/*",
"*://*.lanuovasardegna.it/*", "*://*.lanuovasardegna.it/*",
"*://*.laopiniondemalaga.es/*",
"*://*.laopiniondemurcia.es/*", "*://*.laopiniondemurcia.es/*",
"*://*.laprovincia.es/*", "*://*.laprovincia.es/*",
"*://*.lardennais.fr/*", "*://*.lardennais.fr/*",
@ -627,5 +628,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.5.8.1" "version": "2.5.8.2"
} }

View File

@ -429,7 +429,6 @@ var defaultSites = {
}, },
"Financial Times (not Chinese)": { "Financial Times (not Chinese)": {
domain: "ft.com", domain: "ft.com",
allow_cookies: 1,
block_regex: /cdn\.ampproject\.org\/v\d\/amp-(access|ad|subscriptions)-.+\.js/, block_regex: /cdn\.ampproject\.org\/v\d\/amp-(access|ad|subscriptions)-.+\.js/,
useragent: "googlebot" useragent: "googlebot"
}, },
@ -636,6 +635,7 @@ var defaultSites = {
"elperiodicomediterraneo.com", "elperiodicomediterraneo.com",
"farodevigo.es", "farodevigo.es",
"informacion.es", "informacion.es",
"laopiniondemalaga.es",
"laopiniondemurcia.es", "laopiniondemurcia.es",
"laprovincia.es", "laprovincia.es",
"levante-emv.com", "levante-emv.com",

View File

@ -1,4 +1,19 @@
{ {
"Financial Times (not Chinese)": {
"domain": "ft.com",
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad|subscriptions)-.+\\.js",
"useragent": "googlebot"
},
"La Opinión de Málaga": {
"domain": "laopiniondemalaga.es",
"allow_cookies": 1,
"block_regex": "(\\.piano\\.io\\/|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|analytics)-.+\\.js)"
},
"La Opinión de Murcia": {
"domain": "laopiniondemurcia.es",
"allow_cookies": 1,
"block_regex": "(\\.piano\\.io\\/|cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|analytics)-.+\\.js)"
},
"Neue Osnabrücker Zeitung": { "Neue Osnabrücker Zeitung": {
"domain": "noz.de", "domain": "noz.de",
"allow_cookies": 1, "allow_cookies": 1,