Update block general paywall script (Pico/Wordpress)

merge-requests/7/head
magnolia1234 2 years ago
parent 3b4a9097a1
commit 46c3e79c32

@ -749,11 +749,11 @@ If removing the cookies works you can also add the site as a custom site.
You can [submit a request for a new website](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/issues).
Please read the following instructions and share your results for a quicker process.
Remember to check the [previous requests](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/issues?scope=all&state=all) before asking for a new website.
1. Visit an article on the site you want to bypass the paywall for and copy the article title.
2. Open up a new incognito window (Ctrl+Shift+P) and paste the article title into Google.
3. Click on the same article from the Google search results page. Or you can:
4. Disable javascript on the website by clicking the button right icon </> on the uBlock Origin panel.
5. Refresh the page.
1. Open incognito window and search for article in Google search (or webcache).
2. Clear cookies for the site (by this add-on: opt-in to custom sites or grant permission for the site; also enables blocking of general paywall scripts).
3. Disable Javascript on the site (by browser, uBlock Origin or other add-on).
4. Add the domain as custom site for more bypass options.
5. Open page in reader view (by browser or add-on).
### Add custom site
Add your own custom site (also for testing).

@ -653,6 +653,7 @@ var block_js = [
"*://*.zephr.com/zephr-browser/*",
"*://*/c/assets/pigeon.js*",
"*://*/wp-content/evolok/ev-widgets/ev-widgets.min.js*",
"*://*/wp-content/plugins/pico/includes/js/read-more.js*",
"*://cdn.ampproject.org/v*/amp-access-*.*js",
"*://cdn.ampproject.org/v*/amp-subscriptions-*.*js",
"*://cdn.ampproject.org/v*/amp*-ad-*.*js",
@ -671,8 +672,9 @@ function disableJavascriptOnListedSites() {
let header_referer = details.originUrl ? details.originUrl : details.initiator;
if (!(isSiteEnabled(details)
|| (['script'].includes(details.type)
&& ((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')))))
&& ((enabledSites.includes('###_wp_evolok') && details.url.includes('/wp-content/evolok/ev-widgets/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')))))
|| matchUrlDomain(excludedSites.concat(['asia.nikkei.com', 'cambridge.org']), header_referer)) {
return;
}

@ -9,6 +9,7 @@ Fix Grupo Prensa Iberica (opt-in to custom sites for unlisted)
Fix Lequipe.fr (json)
Fix Medium custom domains
Update badge (site with no fix; X)
Update block general paywall script (Pico/Wordpress)
* v2.6.6.0 (2022-04-24)
Add Automobilwoche
@ -120,7 +121,7 @@ Fix NewcastleHerald.com.au
Fix Lequipe.fr (json)
Fix Neue Osnabrucker Zeitung (amp)
Fix Quotidiano.net sites
Update block general paywall script (Pigeon)
Update block general paywall script (Pigeon/WordPress)
* v2.5.6.0 (2022-02-13)
Add Condé Nast magazines & Vogue Business

@ -1964,6 +1964,9 @@ var defaultSites = {
"Piano.io": {
domain: "piano.io"
},
"Pico (WordPress plugin; opt-in to custom sites)": {
domain: "###_wp_pico"
},
"Pigeon (WordPress plugin; opt-in to custom sites)": {
domain: "###_wp_pigeon"
},
@ -2078,4 +2081,5 @@ var no_nhst_media_domains = grouped_sites['###_no_nhst_media'];
var usa_theathletic_domains = grouped_sites['###_usa_theathletic'];
// sites with no fix (background)
var nofix_sites = ['ad.nl', 'africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'irishtimes.com', 'jacobinmag.com', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'ynet.co.il'];
var nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl'];
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'irishtimes.com', 'jacobinmag.com', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'ynet.co.il'].concat(nl_ad_region_domains);

Loading…
Cancel
Save