From 6798d64a3065776f2de2884d588a1b82655c2a55 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 22 Mar 2023 18:21:30 +0100 Subject: [PATCH] Fix The Art Newspaper (js) --- changelog.txt | 3 ++- custom/manifest.json | 2 +- manifest.json | 2 +- sites.js | 2 +- sites_updated.json | 5 +++++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index a6b51f0e..d12998d0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,8 +4,9 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release Post-release Remove Cellesche Zeitung (fix obsolete) -Fix Automobilwoche.de +Fix Automobilwoche.de (js) Fix Faz.net (json) +Fix The Art Newspaper (js) Fix Valor Economico (amp-redirect) * v3.1.0.0 (2023-03-19) diff --git a/custom/manifest.json b/custom/manifest.json index 53a0f53f..7d7c6124 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.1.0.3" + "version": "3.1.0.4" } diff --git a/manifest.json b/manifest.json index ad2c0f01..add838e6 100644 --- a/manifest.json +++ b/manifest.json @@ -739,5 +739,5 @@ "*://*.wallkit.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.1.0.3" + "version": "3.1.0.4" } diff --git a/sites.js b/sites.js index 51123972..689d4983 100644 --- a/sites.js +++ b/sites.js @@ -1792,7 +1792,7 @@ var defaultSites = { "The Art Newspaper": { domain: "theartnewspaper.com", allow_cookies: 1, - block_regex: /\.amazonaws.com\/production-website-scripts\/bouncer\.js/ + block_regex: /\.theartnewspaper\.com\/_next\/static\/chunks\/pages\/access-allowed-.+\.js/ }, "The Athletic": { domain: "###_usa_theathletic", diff --git a/sites_updated.json b/sites_updated.json index 99b5c293..9b0937e9 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -39,6 +39,11 @@ "block_regex": "(\\.poool\\.fr\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)", "cs_code": "[{\"cond\":\".amorce\",\"rm_elem\":1},{\"cond\":\".user-paying-content\",\"rm_attrib\":\"class|hidden\"}]" }, + "The Art Newspaper": { + "domain": "theartnewspaper.com", + "allow_cookies": 1, + "block_regex": "\\.theartnewspaper\\.com\\/_next\\/static\\/chunks\\/pages\\/access-allowed-.+\\.js" + }, "The Times Literary Supplement": { "domain": "the-tls.co.uk", "remove_cookies": 1,