diff --git a/background.js b/background.js index 91a2ed3..239cba4 100644 --- a/background.js +++ b/background.js @@ -652,6 +652,7 @@ var block_js = [ "*://*.weborama.fr/*", "*://*.zephr.com/zephr-browser/*", "*://*/c/assets/pigeon.js*", + "*://*/wp-content/evolok/ev-widgets/ev-widgets.min.js*", "*://cdn.ampproject.org/v*/amp-access-*.*js", "*://cdn.ampproject.org/v*/amp-subscriptions-*.*js", "*://cdn.tinypass.com/*", @@ -665,7 +666,9 @@ var block_js = [ function disableJavascriptOnListedSites() { ext_api.webRequest.onBeforeRequest.addListener(function (details) { let header_referer = details.originUrl ? details.originUrl : details.initiator; - if (!(isSiteEnabled(details) || (enabledSites.includes('###_wp_pigeon') && details.url.includes('/c/assets/pigeon.js'))) + if (!(isSiteEnabled(details) + || (enabledSites.includes('###_wp_pigeon') && details.url.includes('/c/assets/pigeon.js')) + || (enabledSites.includes('###_wp_evolok') && details.url.includes('/wp-content/evolok/ev-widgets/ev-widgets.min.js'))) || matchUrlDomain(excludedSites.concat(['asia.nikkei.com', 'cambridge.org']), header_referer)) { return; } diff --git a/changelog.txt b/changelog.txt index c286c3c..8e69476 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,6 +5,7 @@ Post-release Add Aftonbladet.se Add Nzz.ch Regional (opt-in to custom sites) Update block general paywall script (Ensighten) +Update block general paywall script (Evolok WordPress) * v2.6.4.0 (2022-04-10) Add El Periodico Extremadura diff --git a/sites.js b/sites.js index 0f289e9..5ca98e7 100644 --- a/sites.js +++ b/sites.js @@ -1930,6 +1930,9 @@ var defaultSites = { "Evolok": { domain: "evolok.net" }, + "Evolok WordPress (opt-in to custom sites)": { + domain: "###_wp_evolok" + }, "MatherAnalytics": { domain: "matheranalytics.com" },