Fix ABC.es (Sevilla)

This commit is contained in:
magnolia1234 2022-10-21 12:44:02 +02:00
parent 16ba9718bb
commit d269193543
6 changed files with 40 additions and 3 deletions

View file

@ -1024,6 +1024,7 @@ if (matchUrlDomain(au_news_corp_domains, details.url))
if (matchUrlDomain(change_headers, details.url) && !ignore_types.includes(details.type)) {
var mobile = details.requestHeaders.filter(x => x.name.toLowerCase() === "user-agent" && x.value.toLowerCase().includes("mobile")).length;
var googlebotEnabled = matchUrlDomain(use_google_bot, details.url) &&
!(matchUrlDomain('abc.es', details.url) && mobile) &&
!(matchUrlDomain('barrons.com', details.url) && enabledSites.includes('#options_disable_gb_barrons')) &&
!(matchUrlDomain(['economictimes.com', 'economictimes.indiatimes.com'], details.url) && !details.url.split(/\?|#/)[0].endsWith('.cms')) &&
!(matchUrlDomain('theaustralian.com.au', details.url) && !details.url.startsWith('https://www.theaustralian.com.au/the-oz/')) &&

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix ABC.es (Sevilla)
Fix ESPN USA (link to archive.is)
Fix The Athletic (css)

View file

@ -1075,7 +1075,7 @@ else if (matchDomain('elperiodico.com')) {
}
else if (matchDomain(es_grupo_vocento_domains)) {
let paywall = document.querySelector('.voc-paywall, .container-wall-exclusive');
let paywall = document.querySelector('.voc-paywall, .container-wall-exclusive, .cierre-suscripcion:not([style="display: none;"])');
if (!window.location.pathname.endsWith('_amp.html')) {
let amphtml = document.querySelector('link[rel="amphtml"]');
if (!amphtml)

View file

@ -720,5 +720,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.9.2"
"version": "2.8.9.3"
}

View file

@ -754,7 +754,14 @@ var defaultSites = {
"lavozdigital.es"
],
allow_cookies: 1,
block_regex: /(\.evolok\.net\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
block_regex: /(\.evolok\.net\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/,
exception: [{
domain: "abc.es",
allow_cookies: 1,
block_regex: /(\.evolok\.net\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/,
useragent: "googlebot"
}
]
},
"Gruppo GEDI.it": {
domain: "###_it_gedi",

View file

@ -9,6 +9,34 @@
"block_regex": "(\\.tinypass\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/(fence\\/plug-client|javelin\\/.+\\/transporter)\\/)",
"remove_cookies_select_drop": ["gatehouse_id"]
},
"Grupo Vocento": {
"domain": "###_es_grupo_vocento",
"group": [
"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"
],
"allow_cookies": 1,
"block_regex": "(\\.evolok\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"exception": [{
"domain": "abc.es",
"allow_cookies": 1,
"block_regex": "(\\.evolok\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"useragent": "googlebot",
"amp_redirect": ".cierre-suscripcion:not([style=\"display: none;\"]"
}
]
},
"Inews.co.uk": {
"domain": "inews.co.uk",
"allow_cookies": 1,