From 3ebe54f46662dd2f7c07145efeb5169844332cbf Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 5 May 2023 18:13:09 +0200 Subject: [PATCH] Fix ilMessaggero.it --- changelog.txt | 1 + custom/manifest.json | 2 +- manifest.json | 3 ++- sites.js | 3 ++- sites_updated.json | 31 ++++++++++--------------------- 5 files changed, 16 insertions(+), 24 deletions(-) diff --git a/changelog.txt b/changelog.txt index 5699c137..0fa66468 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Add Cairns Post, Geelong Advertiser & Townsville Bulletin (Australia News Corp) Add Arizent sites (opt-in to custom sites) Remove Puck.news (fix obsolete) Fix Adweek (premium) +Fix ilMessaggero.it (+ regional sites) Fix Modern Healthcare (sponsored) Fix Sportico (amp) Update custom (flex) sites (no fix group) diff --git a/custom/manifest.json b/custom/manifest.json index 12235c3b..c86d95dd 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.1.6.6" + "version": "3.1.6.7" } diff --git a/manifest.json b/manifest.json index 34ff3764..eba149e2 100644 --- a/manifest.json +++ b/manifest.json @@ -738,6 +738,7 @@ "*://*.bntech.io/*", "*://*.bwbx.io/*", "*://*.californiatimes.com/*", + "*://*.cedscdn.it/*", "*://*.cedsdigital.it/*", "*://*.codebeautify.org/*", "*://*.corriereobjects.it/*", @@ -755,5 +756,5 @@ "*://html.onlineviewer.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.1.6.6" + "version": "3.1.6.7" } diff --git a/sites.js b/sites.js index 57e7d2b8..8bf62edf 100644 --- a/sites.js +++ b/sites.js @@ -965,7 +965,8 @@ var defaultSites = { "ilmessaggero.it", "quotidianodipuglia.it" ], - block_regex: /(utils\.cedsdigital\.it\/js\/PaywallMeter\.js|cdn\.ampproject\.org\/v\d\/amp-(access|consent|subscriptions)-.+\.mjs)/ + allow_cookies: 1, + block_regex: /(\.(cedscdn|cedsdigital)\.it\/.+\/PaywallMeter\.js|cdn\.ampproject\.org\/v\d\/amp-(access|consent|subscriptions)-.+\.(m)?js)/ }, "Il Tirreno": { domain: "iltirreno.it" diff --git a/sites_updated.json b/sites_updated.json index e6c144bd..bc858f6b 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -3,28 +3,17 @@ "domain": "adweek.com", "useragent": "googlebot" }, - "Berlingske": { - "domain": "berlingske.dk", + "Il Messaggero (+ regional)": { + "domain": "###_it_ilmessaggero", + "group": [ + "corriereadriatico.it", + "ilgazzettino.it", + "ilmattino.it", + "ilmessaggero.it", + "quotidianodipuglia.it" + ], "allow_cookies": 1, - "useragent": "bingbot" - }, - "El Observador.com.uy": { - "domain": "elobservador.com.uy", - "allow_cookies": 1, - "amp_redirect": "div.mensaje_member", - "amp_unhide": 1, - "block_regex": "(\\.elobservador\\.com\\.uy\\/shares|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)", - "new_site": 1 - }, - "El PaĆ­s.com.uy": { - "domain": "elpais.com.uy", - "allow_cookies": 1, - "block_regex": "(\\.elpais\\.com\\.uy\\/user\\/authStatus|\\.evolok\\.net\\/|cdn\\.cxense\\.com\\/)" - }, - "La Diaria.com.uy": { - "domain": "ladiaria.com.uy", - "allow_cookies": 1, - "useragent": "googlebot" + "block_regex": "(\\.(cedscdn|cedsdigital)\\.it\\/.+\\/PaywallMeter\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|consent|subscriptions)-.+\\.(m)?js)" }, "La Vanguardia": { "domain": "lavanguardia.com",