Fix El Tiempo (css)

This commit is contained in:
magnolia1234 2023-02-16 21:55:20 +01:00
parent 9e58c39866
commit 2e5bcd5f4d
5 changed files with 16 additions and 3 deletions

View file

@ -9,6 +9,7 @@ Add TagesAnzeiger.ch (link to archive.is)
Remove Asia Times (fix obsolete)
Remove Finance.si (fix obsolete)
Fix Australia News Corp (no amp-fix)
Fix El Tiempo (css)
Fix Lc.nl
Update block general paywall script (FewCents)

View file

@ -2627,7 +2627,7 @@ else if (matchDomain('thetimes.co.uk')) {
else
csDone = true;
} else if (window.location.hostname.match(/\.(ar|br|cl|pe)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
} else if (window.location.hostname.match(/\.(ar|br|cl|pe)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'eltiempo.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
if (matchDomain('abril.com.br')) {
if (window.location.pathname.endsWith('/amp/')) {
@ -2693,6 +2693,12 @@ else if (matchDomain('elmercurio.com')) {
}, 3000);
}
else if (matchDomain('eltiempo.com')) {
let modulos = document.querySelector('div.modulos');
if (modulos)
modulos.classList.remove('modulos');
}
else if (matchDomain('em.com.br')) {
if (!window.location.pathname.endsWith('/amp.html')) {
let paywall = document.querySelector('.news-blocked-content');

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.0.5.4"
"version": "3.0.5.5"
}

View file

@ -738,5 +738,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.0.5.4"
"version": "3.0.5.5"
}

View file

@ -50,6 +50,12 @@
"allow_cookies": 1,
"useragent": "googlebot"
},
"El Tiempo": {
"domain": "eltiempo.com",
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com",
"cs_code": "[{\"cond\":\"div.modulos\",\"rm_class\":\"modulos\"}]"
},
"Groupe La Dépêche": {
"domain": "###_fr_groupe_la_depeche",
"group": [