mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Update block general paywall script (Pico.tools)
This commit is contained in:
parent
7a2e0f3512
commit
da169dfe07
5 changed files with 11 additions and 8 deletions
|
@ -690,8 +690,8 @@ var block_js = [
|
|||
"*://*/*/ev-widgets.min.js*",
|
||||
"*://*/c/assets/pigeon.js*",
|
||||
"*://*/wp-content/*/ev-em.min.js*",
|
||||
"*://*/wp-content/plugins/pico/includes/js/read-more.js*",
|
||||
"*://*/zephr/features*",
|
||||
"*://api.pico.tools/*",
|
||||
"*://cdn.ampproject.org/v*/amp-access-*.*js",
|
||||
"*://cdn.ampproject.org/v*/amp-subscriptions-*.*js",
|
||||
"*://cdn.ampproject.org/v*/amp*-ad-*.*js",
|
||||
|
@ -711,7 +711,6 @@ function disableJavascriptOnListedSites() {
|
|||
if (!(isSiteEnabled(details)
|
||||
|| (['script'].includes(details.type)
|
||||
&& ((enabledSites.includes('###_wp_evolok') && details.url.match(/\/(wp-content\/.+\/ev-em|evolok\/.+\/ev-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')))))
|
||||
|| matchUrlDomain(excludedSites.concat(disabledSites, ['asia.nikkei.com', 'cambridge.org', 'japantimes.co.jp']), header_referer)) {
|
||||
|
|
|
@ -9,10 +9,12 @@ Remove Golem.de, Tagesspiegel.de, Welt.de & Wiwo.de (fix obsolete)
|
|||
Remove World Politics Review (fix obsolete)
|
||||
Fix Australia News Corp (amp-iframe)
|
||||
Fix El Espanol (menu)
|
||||
Fix Mediahuis Belgie (revert to old fix)
|
||||
Fix Spiegel.de (link to archive.is)
|
||||
Fix The New Republic (js)
|
||||
Fix TheTimes.co.uk (link to archive.is & epaper-fix obsolete)
|
||||
Open options on grouping of (enabled) sites
|
||||
Update block general paywall script (Pico.tools)
|
||||
|
||||
* v2.7.9.0 (2022-08-07)
|
||||
Add Limburger.nl
|
||||
|
|
|
@ -1880,6 +1880,7 @@ else if (matchDomain('ftm.nl')) {
|
|||
else if (matchDomain(['gva.be', 'hbvl.be', 'nieuwsblad.be'])) {
|
||||
let paywall = document.querySelector('div[data-cj-root="subscription-wall"]');
|
||||
if (paywall && dompurify_loaded) {
|
||||
removeDOMElement(paywall);
|
||||
let main_content = document.querySelector('div[data-mht-block="article-detail__article-main"]');
|
||||
let json_script = main_content.querySelector('script');
|
||||
let json_str = json_script.text.substring(json_script.textContent.indexOf('{'));
|
||||
|
@ -3655,7 +3656,7 @@ else if (matchDomain('theathletic.com')) {
|
|||
if (!window.location.search.match(/(\?|&)amp/)) {
|
||||
let paywall = document.querySelector('div#slideup-paywall');
|
||||
if (paywall) {
|
||||
let overlays = document.querySelectorAll('div[id*="overlay"], div.gPmuKa');
|
||||
let overlays = document.querySelectorAll('div[id*="overlay"], div:empty:not([data-rjs])');
|
||||
removeDOMElement(paywall, ...overlays);
|
||||
let body = document.querySelector('body');
|
||||
if (body) {
|
||||
|
|
|
@ -660,6 +660,7 @@
|
|||
"*://*.onecount.net/*",
|
||||
"*://*.pelcro.com/*",
|
||||
"*://*.piano.io/*",
|
||||
"*://*.pico.tools/*",
|
||||
"*://*.poool.fr/*",
|
||||
"*://*.qiota.com/*",
|
||||
"*://*.tinypass.com/*",
|
||||
|
@ -698,5 +699,5 @@
|
|||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.9.6"
|
||||
"version": "2.7.9.7"
|
||||
}
|
||||
|
|
8
sites.js
8
sites.js
|
@ -2012,7 +2012,7 @@ var defaultSites = {
|
|||
"Evolok": {
|
||||
domain: "evolok.net"
|
||||
},
|
||||
"Evolok WordPress (opt-in to custom sites)": {
|
||||
"Evolok WordPress": {
|
||||
domain: "###_wp_evolok"
|
||||
},
|
||||
"MatherAnalytics": {
|
||||
|
@ -2030,10 +2030,10 @@ var defaultSites = {
|
|||
"Piano.io": {
|
||||
domain: "piano.io"
|
||||
},
|
||||
"Pico (WordPress plugin; opt-in to custom sites)": {
|
||||
domain: "###_wp_pico"
|
||||
"Pico.tools": {
|
||||
domain: "pico.tools"
|
||||
},
|
||||
"Pigeon (WordPress plugin; opt-in to custom sites)": {
|
||||
"Pigeon (WordPress plugin)": {
|
||||
domain: "###_wp_pigeon"
|
||||
},
|
||||
"Poool.fr": {
|
||||
|
|
Loading…
Reference in a new issue