From 74bddb41d775e36807ac2da9c1d3cc5445f36a33 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 22 Mar 2024 15:45:08 +0100 Subject: [PATCH] Fix Clarin (js) --- changelog.txt | 1 + custom/manifest.json | 2 +- manifest.json | 2 +- sites.js | 2 +- sites_updated.json | 21 +++++++++++++++++++++ 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/changelog.txt b/changelog.txt index 6e7b5f72..33a56e70 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Post-release Add Blick.ch (Ringier Gruppe) Add CNN (regwall) Fix Bar and Bench (json) +Fix Clarin (js) Fix Expresso.pt (json) Fix Haaretz Group (anti-adblocker) Fix Newsweek.pl (css) diff --git a/custom/manifest.json b/custom/manifest.json index 603a74c6..a3e7cf10 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.6.0.6" + "version": "3.6.0.7" } diff --git a/manifest.json b/manifest.json index 663a3da3..8ec7866a 100644 --- a/manifest.json +++ b/manifest.json @@ -862,5 +862,5 @@ "*://archive.vn/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.6.0.6" + "version": "3.6.0.7" } diff --git a/sites.js b/sites.js index cd1c1e82..b61ad006 100644 --- a/sites.js +++ b/sites.js @@ -1000,7 +1000,7 @@ var defaultSites = { "losandes.com.ar" ], allow_cookies: 1, - block_regex: /\.clarin\.com\/js\/meter\w*\.js/, + block_regex: /\.clarin\.com\/js\/(meter|zonda-).*\.js/, exception: [{ domain: "lavoz.com.ar", allow_cookies: 1, diff --git a/sites_updated.json b/sites_updated.json index ec73430a..be22d584 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -36,6 +36,27 @@ "ld_archive_is": "div#paywall-container|article", "upd_version": "3.5.8.3" }, + "Grupo Clarín": { + "domain": "###_ar_grupo_clarin", + "group": [ + "clarin.com", + "lavoz.com.ar", + "losandes.com.ar" + ], + "allow_cookies": 1, + "block_regex": "\\.clarin\\.com\\/js\\/(meter|zonda-).*\\.js", + "exception": [{ + "domain": "lavoz.com.ar", + "allow_cookies": 1, + "block_regex": "cdn\\.wyleex\\.com\\/lavoz\\/pw\\.min\\.js" + }, { + "domain": "losandes.com.ar", + "allow_cookies": 1, + "block_regex": "cdn\\.lavoz\\.com\\.ar\\/sites\\/.+\\/paywall\\/losandes\\/pw\\.js" + } + ], + "upd_version": "3.6.0.7" + }, "Haaretz Group": { "domain": "###_il_haaretz_group", "group": [