mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Update block general paywall script (Evolok WordPress)
This commit is contained in:
parent
740f9d8c24
commit
83776f9ba5
3 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
3
sites.js
3
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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue