From 740f9d8c24c91154f12b5b5013f462d983a9cf1f Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 14 Apr 2022 07:48:01 +0200 Subject: [PATCH] Update block general paywall script (Ensighten) --- background.js | 1 + changelog.txt | 1 + sites.js | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 7021e4e..91a2ed3 100644 --- a/background.js +++ b/background.js @@ -658,6 +658,7 @@ var block_js = [ "*://js.matheranalytics.com/*", "*://js.pelcro.com/*", "*://loader-cdn.azureedge.net/prod/*/loader.min.js*", + "*://nexus.ensighten.com/*/Bootstrap.js*", ]; // Disable javascript for these sites/general paywall-scripts diff --git a/changelog.txt b/changelog.txt index b443c90..c286c3c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Aftonbladet.se Add Nzz.ch Regional (opt-in to custom sites) +Update block general paywall script (Ensighten) * v2.6.4.0 (2022-04-10) Add El Periodico Extremadura diff --git a/sites.js b/sites.js index 4e45813..0f289e9 100644 --- a/sites.js +++ b/sites.js @@ -1192,7 +1192,7 @@ var defaultSites = { "Neue Zürcher Zeitung (+ regional/opt-in to custom sites)": { domain: "nzz.ch", allow_cookies: 1, - block_regex: /((ens\.nzz\.ch|nexus\.ensighten\.com)\/.+\/Bootstrap\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/, + block_regex: /(\.piano\.io\/|(ens\.nzz\.ch|nexus\.ensighten\.com)\/.+\/Bootstrap\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/, useragent: "googlebot" }, "New Left Review": { @@ -1924,6 +1924,9 @@ var defaultSites = { "Cxense": { domain: "cxense.com" }, + "Ensighten": { + domain: "ensighten.com" + }, "Evolok": { domain: "evolok.net" },