diff --git a/changelog.txt b/changelog.txt index 421c76d..31e9290 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index f5d4796..2fb66b5 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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'); diff --git a/custom/manifest.json b/custom/manifest.json index 98a79a0..9f80999 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.0.5.4" + "version": "3.0.5.5" } diff --git a/manifest.json b/manifest.json index b374280..3c41fe1 100644 --- a/manifest.json +++ b/manifest.json @@ -738,5 +738,5 @@ "*://*.wallkit.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.0.5.4" + "version": "3.0.5.5" } diff --git a/sites_updated.json b/sites_updated.json index 672e70b..8ac5b59 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -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": [