Update block general paywall script (update Evolok WordPress)
This commit is contained in:
parent
0cf00310df
commit
ad4164bc10
@ -655,8 +655,9 @@ var block_js = [
|
||||
"*://*.tribdss.com/*",
|
||||
"*://*.weborama.fr/*",
|
||||
"*://*.zephr.com/zephr-browser/*",
|
||||
"*://*/*/ev-em.min.js*",
|
||||
"*://*/*/ev-widgets.min.js*",
|
||||
"*://*/c/assets/pigeon.js*",
|
||||
"*://*/wp-content/evolok/ev-widgets/ev-widgets.min.js*",
|
||||
"*://*/wp-content/plugins/pico/includes/js/read-more.js*",
|
||||
"*://*/zephr/features*",
|
||||
"*://cdn.ampproject.org/v*/amp-access-*.*js",
|
||||
@ -677,7 +678,7 @@ function disableJavascriptOnListedSites() {
|
||||
let header_referer = details.originUrl ? details.originUrl : details.initiator;
|
||||
if (!(isSiteEnabled(details)
|
||||
|| (['script'].includes(details.type)
|
||||
&& ((enabledSites.includes('###_wp_evolok') && details.url.includes('/wp-content/evolok/ev-widgets/ev-widgets.min.js'))
|
||||
&& ((enabledSites.includes('###_wp_evolok') && details.url.match(/\/(evolok|wp-content)\/.+\/ev-(em|widgets)\.min\.js/))
|
||||
|| (enabledSites.includes('###_wp_pico') && details.url.includes('/wp-content/plugins/pico/includes/js/read-more.js'))
|
||||
|| (enabledSites.includes('###_wp_pigeon') && details.url.includes('/c/assets/pigeon.js'))
|
||||
|| (enabledSites.includes('zephr.com') && details.url.includes('/zephr/features')))))
|
||||
|
@ -10,6 +10,7 @@ Fix ABC.es (mobile)
|
||||
Fix Knack.be & LeVif.be (subdomains-text)
|
||||
Fix SOFREP (plus)
|
||||
Fix WSJ (no Googlebot)
|
||||
Update block general paywall script (update Evolok WordPress)
|
||||
|
||||
* v2.7.4.0 (2022-07-03)
|
||||
Add Beobachter.ch
|
||||
|
2
sites.js
2
sites.js
@ -1725,7 +1725,7 @@ var defaultSites = {
|
||||
"The Indian Express": {
|
||||
domain: "indianexpress.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\/indianexpress\.com\/.+\/indianexpress\/js\/(evolok\/.+|min\/premiumContent)\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||
block_regex: /(\/indianexpress\.com\/.+\/indianexpress\/js\/(evolok\/|min\/premiumContent)\.js|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||
},
|
||||
"The Intercept": {
|
||||
domain: "theintercept.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user