Add Sueddeutsche Zeitung (link to archive.is)

Fix El Pais (mobile)
merge-requests/16/head
magnolia1234 7 months ago
parent ab42818e13
commit 7f522bcbe0

@ -31,7 +31,7 @@ PS although add-on was removed from [Mozilla's add-on store (AMO)](https://addon
If you want to permanently install the latest [master ZIP-file from GitLab](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/archive/master/bypass-paywalls-firefox-clean-master.zip) (with post-release fixes) use a Firefox browser which allows using unsigned add-ons like Firefox Developer Portable (go to about:config and set xpinstall.signatures.required to false) or LibreWolf (for both no automatic updates of add-on).\
Or load a temporary add-on in regular Firefox (go to about:debugging#/runtime/this-firefox & load manifest.json from unpacked (master-zip) folder.
By default BPC has limited host permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for unlisted sites). You can also just request host permissions for the custom sites you added yourself (or click *clear cookies* (BPC-icon) to ask for permission for current site).\
By default BPC has limited host permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for unlisted sites). You can also just request host permissions for the custom sites you've added yourself (or click *clear cookies* (BPC-icon) to ask for host permission for current site).\
You can also install the custom add-on version (with host permissions for all sites).
### Update
@ -66,7 +66,7 @@ Use adblocker with custom (content)filter & userscript (manager): https://gitlab
### Troubleshooting
* If a site doesn't work, first try to turn off your adblocker (or other extension) and refresh page.
* Make sure the (new) site is checked under Options.
* Clear cookies by add-on's icon and grant permission for site (or opt-in to custom sites)
* Clear cookies by add-on's icon and grant host permission for site (or opt-in to custom sites)
* You will be logged out for some of the sites you have enabled.
* Make sure you're running the latest version of Bypass Paywalls Clean.
* Some sites need to redirect to an amp-page (this may cause a redirect-loop by an amp-to-html add-on or browser setting).
@ -609,6 +609,7 @@ Grouped in options:\
[Salzburger Nachrichten](https://www.sn.at) -
[Schwäbische Zeitung](https://www.schwaebische.de) -
[Springer Medizin](https://www.springermedizin.de) -
[Süddeutsche Zeitung (link to archive.is)](https://www.sueddeutsche.de) -
[Volksstimme](https://www.volksstimme.de) -
[Vorarlberg Nachrichten](https://www.vn.at) -
[Vorarlberg Online](https://www.vol.at) -
@ -973,7 +974,7 @@ _* free articles only._
### Sites with limited number of free articles
The free article limit can normally be bypassed by removing cookies for the site.
Click on the BPC-icon and then *clear cookies*-button in the popup (for unsupported sites grant permission for domain).
Click on the BPC-icon and then *clear cookies*-button in the popup (for unsupported sites grant host permission for domain).
If removing the cookies works you can also add the site as a custom site.
### New site requests
@ -981,16 +982,18 @@ You can [submit a request for a new website](https://gitlab.com/magnolia1234/byp
Please use the issue template (check READ FIRST issue), 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. 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).
2. Clear cookies for the site (by this add-on: opt-in to custom sites or grant host 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).
6. Try one of the archive sites (for Google Search Tool test url & copy html (tab) code to https://codebeautify.org/htmlviewer).
6. Try one of the archive sites:
* archive.is/today will not work with Secured DNS by Cloudflare (or when you change referer/user-agent for the archive site)
* for Google Search Tool test url & copy html (tab) code to https://codebeautify.org/htmlviewer
### Add custom site
Add your own custom site (also for testing).
Check 'Options'-link in popup-menu and go to custom sites.
\* by default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for unlisted sites). You can also just request host permissions for the custom sites you added yourself (or *clear cookies* (BPC-icon) to ask for permission for current site).
\* by default BPC has limited host permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for unlisted sites). You can also just request host permissions for the custom sites you added yourself (or *clear cookies* (BPC-icon) to ask for host permission for current site).
By default sites' cookies/local storage are blocked/removed (for example to bypass article limit when metered paywall).

@ -5,7 +5,9 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add LeFigaro.fr (link to archive.is)
Add LeMonde.fr (link to archive.is)
Add Sueddeutsche Zeitung (link to archive.is)
Add The Impression
Fix El Pais (mobile)
Fix WSJ (mobile & Googlebot for cn/jp subdomain)
Update custom sites (link to 1ft.io)

@ -1137,6 +1137,22 @@ else if (matchDomain(['stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 's
removeDOMElement(banner);
}
else if (matchDomain('sueddeutsche.de')) {
let url = window.location.href;
let paywall = document.querySelector('div#sz-paywall');
if (paywall) {
removeDOMElement(paywall);
let article = document.querySelector('div.article-content, div.text');
if (article)
article.firstChild.before(archiveLink(url), article.firstChild);
let reduced = document.querySelector('p.sz-article-body__paragraph--reduced');
if (reduced)
reduced.classList.remove('sz-article-body__paragraph--reduced');
let ads = document.querySelectorAll('div.ad-container');
hideDOMElement(...ads);
}
}
else if (matchDomain('vn.at')) {
if (window.location.href.match(/\.vn\.at\/.+\/\d{4}\//)) {
let paywall = document.querySelector('div.paywalled-content');
@ -1427,8 +1443,10 @@ else if (matchDomain('elpais.com')) {
if (window.location.pathname.endsWith('.amp.html') || window.location.search.match(/(\?|&)outputType=amp/)) {
amp_unhide_access_hide('="vip"], [amp-access="success"', '="NOT vip"], [amp-access="NOT success"');
} else {
let banners = document.querySelectorAll('div#ctn_freemium_article, div#ctn_premium_article, div.ad');
hideDOMElement(...banners);
let paywall = document.querySelector('div#ctn_freemium_article, div#ctn_premium_article');
removeDOMElement(paywall);
let ads = document.querySelectorAll('div.ad');
hideDOMElement(...ads);
}
}

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.4.0.4"
"version": "3.4.0.5"
}

@ -637,14 +637,6 @@
"cs_code": "[{\"cond\":\"div.c-memberships-message\", \"rm_elem\":1, \"elems\":[{\"cond\":\"body.access-restricted\",\"rm_class\":\"access-restricted\"}]}]",
"domain": "stateaffairs.com"
},
"Sueddeutsche.de": {
"add_ext_link": "div#sz-paywall|div.article-content,div.text",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"block_js_ext": 1,
"cs_code": "[{\"cond\":\"p.sz-article-body__paragraph--reduced\", \"rm_class\":\"sz-article-body__paragraph--reduced\"}]",
"domain": "sueddeutsche.de"
},
"Suedkurier.de": {
"add_ext_link": "aside.article-paywall|section.article-content",
"add_ext_link_type": "archive.is",

@ -629,6 +629,7 @@
"*://*.stylist.co.uk/*",
"*://*.sudinfo.be/*",
"*://*.sudouest.fr/*",
"*://*.sueddeutsche.de/*",
"*://*.sun-sentinel.com/*",
"*://*.suomensotilas.fi/*",
"*://*.svz.de/*",
@ -810,5 +811,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.4.0.4"
"version": "3.4.0.5"
}

@ -2039,6 +2039,11 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\/suomensotilas\.fi\/wp-content\/plugins\/epflpw\/js\/pw\.js/
},
"Süddeutsche Zeitung (link to archive.is)": {
domain: "sueddeutsche.de",
allow_cookies: 1,
block_regex: /\.sueddeutsche\.de\/api\/tinypass\.min\.js/
},
"Swarajyamag": {
domain: "swarajyamag.com",
allow_cookies: 1,
@ -2828,4 +2833,4 @@ var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr'
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'limesonline.com', 'repubblica.it'];
var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
var uk_delinian_nofix_domains = ['insidepandc.com', 'thedeal.com'];
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'hbrchina.org', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'sueddeutsche.de', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'welt.de', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains, uk_delinian_nofix_domains);
var nofix_sites = ['aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'asiatimes.com', 'autosport.com', 'badische-zeitung.de', 'bild.de', 'bloomberglaw.com', 'bloombergtax.com', 'borsen.dk', 'businessinsider.de', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'diepresse.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'falter.at', 'finance.si', 'ftchinese.com', 'gamestar.de', 'geo.de', 'golem.de', 'handelsblatt.com', 'hbrchina.org', 'heise.de', 'hln.be', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobinmag.com', 'jeuneafrique.com', 'kleinezeitung.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'liberation.fr', 'limburger.nl', 'lopinion.fr', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'moneycontrol.com', 'morningstar.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newslaundry.com', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'straitstimes.com', 'stratfor.com', 'substack.com', 'suedkurier.de', 'swp.de', 'tagesspiegel.de', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'vosgesmatin.fr', 'welt.de', 'weltwoche.ch', 'weltwoche.de', 'weser-kurier.de', 'wiwo.de', 'worldpoliticsreview.com', 'ynet.co.il'].concat(fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains, uk_delinian_nofix_domains);

@ -56,6 +56,14 @@
"block_regex": "\\.qiota\\.com\/",
"upd_version": "3.3.9.8"
},
"El País": {
"domain": "elpais.com",
"allow_cookies": 1,
"block_js_inline": "\\.elpais\\.com\\/.+\\.html",
"block_regex": "(\\/elpais\\.com\\/arc\\/subs\\/p\\.min\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)",
"cs_code": "[{\"cond\":\"div.a_b_wall\", \"rm_attrib\":\"class\"}]",
"upd_version": "3.4.0.5"
},
"Financial News (London)": {
"domain": "fnlondon.com",
"allow_cookies": 1,
@ -108,6 +116,15 @@
"cs_code": "[{\"cond\":\"section.article__content--restricted-media\", \"rm_class\":\"article__content--restricted-media\"}]",
"upd_version": "3.4.0.4"
},
"Süddeutsche Zeitung (link to archive.is)": {
"domain": "sueddeutsche.de",
"allow_cookies": 1,
"add_ext_link": "div#sz-paywall|div.article-content,div.text",
"add_ext_link_type": "archive.is",
"block_regex": "\\.sueddeutsche\\.de\\/api\\/tinypass\\.min\\.js",
"cs_code": "[{\"cond\":\"p.sz-article-body__paragraph--reduced\", \"rm_class\":\"sz-article-body__paragraph--reduced\"}]",
"upd_version": "3.4.0.5"
},
"The Baffler": {
"domain": "thebaffler.com",
"allow_cookies": 1,

Loading…
Cancel
Save