mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:17:47 +01:00
Update block general paywall script (update Evolok WordPress)
This commit is contained in:
parent
c60bafcd19
commit
425ec4acb3
3 changed files with 5 additions and 3 deletions
|
@ -655,8 +655,9 @@ var block_js = [
|
||||||
"*://*.tribdss.com/*",
|
"*://*.tribdss.com/*",
|
||||||
"*://*.weborama.fr/*",
|
"*://*.weborama.fr/*",
|
||||||
"*://*.zephr.com/zephr-browser/*",
|
"*://*.zephr.com/zephr-browser/*",
|
||||||
|
"*://*/*/ev-em.min.js*",
|
||||||
|
"*://*/*/ev-widgets.min.js*",
|
||||||
"*://*/c/assets/pigeon.js*",
|
"*://*/c/assets/pigeon.js*",
|
||||||
"*://*/wp-content/evolok/ev-widgets/ev-widgets.min.js*",
|
|
||||||
"*://*/wp-content/plugins/pico/includes/js/read-more.js*",
|
"*://*/wp-content/plugins/pico/includes/js/read-more.js*",
|
||||||
"*://*/zephr/features*",
|
"*://*/zephr/features*",
|
||||||
"*://cdn.ampproject.org/v*/amp-access-*.*js",
|
"*://cdn.ampproject.org/v*/amp-access-*.*js",
|
||||||
|
@ -677,7 +678,7 @@ function disableJavascriptOnListedSites() {
|
||||||
let header_referer = details.originUrl ? details.originUrl : details.initiator;
|
let header_referer = details.originUrl ? details.originUrl : details.initiator;
|
||||||
if (!(isSiteEnabled(details)
|
if (!(isSiteEnabled(details)
|
||||||
|| (['script'].includes(details.type)
|
|| (['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_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('###_wp_pigeon') && details.url.includes('/c/assets/pigeon.js'))
|
||||||
|| (enabledSites.includes('zephr.com') && details.url.includes('/zephr/features')))))
|
|| (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 Knack.be & LeVif.be (subdomains-text)
|
||||||
Fix SOFREP (plus)
|
Fix SOFREP (plus)
|
||||||
Fix WSJ (no Googlebot)
|
Fix WSJ (no Googlebot)
|
||||||
|
Update block general paywall script (update Evolok WordPress)
|
||||||
|
|
||||||
* v2.7.4.0 (2022-07-03)
|
* v2.7.4.0 (2022-07-03)
|
||||||
Add Beobachter.ch
|
Add Beobachter.ch
|
||||||
|
|
2
sites.js
2
sites.js
|
@ -1725,7 +1725,7 @@ var defaultSites = {
|
||||||
"The Indian Express": {
|
"The Indian Express": {
|
||||||
domain: "indianexpress.com",
|
domain: "indianexpress.com",
|
||||||
allow_cookies: 1,
|
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": {
|
"The Intercept": {
|
||||||
domain: "theintercept.com",
|
domain: "theintercept.com",
|
||||||
|
|
Loading…
Reference in a new issue