Fix Grupo Prensa Iberica (Piano)

This commit is contained in:
magnolia1234 2022-01-29 12:37:56 +01:00
parent 916dd3f07f
commit 710e4cc85a
4 changed files with 4 additions and 10 deletions

View file

@ -5,6 +5,7 @@ Post-release
Add group Outside magazines
Fix Australia News Corp (amp-redirect)
Fix Faz.net (timing)
Fix Grupo Prensa Iberica (Piano)
Fix The Chronicle (amp-redirect)
Fix The Seattle Times (update)
Fix The Telegraph (modal)

View file

@ -909,17 +909,9 @@ else if (matchDomain(es_epiberica_domains)) {
let truncated = document.querySelector('div.article-body--truncated');
if (truncated)
truncated.classList.remove('article-body--truncated');
window.setTimeout(function () {
let paywall = document.querySelector('div.paywall');
removeDOMElement(paywall);
}, 500); // Delay (in milliseconds)
if (window.location.href.includes('.amp.html')) {
amp_unhide_access_hide('="NOT access"', '="access"');
amp_unhide_access_hide('="FALSE"');
} else {
let div_hidden = document.querySelector('div.baldomero');
if (div_hidden)
div_hidden.classList.remove('baldomero');
}
}

View file

@ -614,5 +614,5 @@
"*://*.wsj.net/*",
"*://*.zephr.com/*"
],
"version": "2.5.3.5"
"version": "2.5.3.6"
}

View file

@ -465,6 +465,7 @@ var defaultSites = {
},
"Foreign Policy": {
domain: "foreignpolicy.com",
allow_cookies: 1,
block_regex: /(cdn\.cxense\.com\/|\.tinypass\.com\/)/
},
"Fortune": {
@ -625,7 +626,7 @@ var defaultSites = {
"lne.es"
],
allow_cookies: 1,
block_regex: /cdn\.ampproject\.org\/v\d\/amp-(access|analytics)-.+\.js/
block_regex: /(\.piano\.io\/|cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|analytics)-.+\.js)/
},
"Grupo Vocento (Spain, regional daily)": {
domain: "###_es_grupo_vocento",