Fix-update El Mercurio & La Segunda (mobile)

This commit is contained in:
magnolia1234 2020-11-28 18:34:26 +01:00
parent ea61ade434
commit 7280b45234
4 changed files with 15 additions and 3 deletions

View file

@ -193,7 +193,7 @@ var blockedRegexes = {
'economist.com': /cdn\.tinypass\.com\/.+/,
'editorialedomani.it': /(.+\.editorialedomani\.it\/pelcro\.js|js\.pelcro\.com\/.+)/,
'elcomercio.pe': /elcomercio\.pe\/pf\/dist\/template\/elcomercio-noticia.+\.js/,
'elmercurio.com': /(elmercurio\.com\/.+\/js\/modal\.js|merreader\.emol\.cl\/assets\/js\/(vendor\/modal|merPramV\d)\.js|staticmer(\d)?\.emol\.cl\/js\/.+\/(modal|PramModal\.min)\.js)/,
'elmercurio.com': /\.(elmercurio\.com|emol\.cl)\/.+\/js\/((vendor\/)?modal|merPramV\d|PramModal\.min)\.js/,
'elmundo.es': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
'elperiodico.com': /cdn\.ampproject\.org\/v\d\/amp-(access|consent)-.+\.js/,
@ -223,7 +223,7 @@ var blockedRegexes = {
'kurier.at': /cdn\.tinypass\.com\/.+/,
'la-croix.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
'ladepeche.fr': /.+\.poool\.fr\/.+/,
'lasegunda.com': /segreader\.emol\.cl\/assets\/js\/(vendor\/modal\.js|merPramV\d\.js)/,
'lasegunda.com': /\.(lasegunda\.com|emol\.cl)\/.+\/js\/((vendor\/)?modal|merPramV\d|PramModal\.min)\.js/,
'lastampa.it': /.+\.repstatic\.it\/minify\/sites\/lastampa\/.+\/config\.cache\.php\?name=social_js/,
'latercera.com': /(.+\.latercera\.com\/arc\/subs\/p\.js|cdn\.cxense\.com\/.+)/,
'latimes.com': /js\.matheranalytics\.com\/.+/,

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix-update El Mercurio & La Segunda (mobile)
* v1.9.7.0 (2020-11-27)
Add Alma Talent sites (Finland)

View file

@ -1715,6 +1715,17 @@ else if (matchDomain('la-croix.com')) {
}
}
else if (matchDomain('lasegunda.com')) {
let url = window.location.href;
if (url.includes('digital.lasegunda.com/mobile')) {
let lessreadmore = document.querySelectorAll('article.lessreadmore');
for (let article of lessreadmore)
article.classList.remove('lessreadmore');
let bt_readmore = document.querySelectorAll('div[id*="bt_readmore_"]');
removeDOMElement(...bt_readmore);
}
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

View file

@ -367,5 +367,5 @@
"*://*.repstatic.it/*",
"*://*.userzoom.com/*"
],
"version": "1.9.7.0"
"version": "1.9.7.1"
}