Remove Puck.news

This commit is contained in:
magnolia1234 2024-03-05 12:40:14 +01:00
parent 22df695375
commit 1ca39b53e0
9 changed files with 46 additions and 35 deletions

View file

@ -19,21 +19,20 @@ Weekly updates are released for fixes and new sites.
### Installation ### Installation
You can install the add-on from [GitLab releases](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases)\ You can install the add-on from [GitLab releases](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases)\
Download the [latest release by xpi-file](https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-latest.xpi), go to downloads and install the add-on (or drag it from your file-manager anywhere on a page/tab in Firefox).\ Download the [latest release by xpi-file (regular version)](https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-latest.xpi), go to downloads and install the add-on (or drag it from your file-manager anywhere on a page/tab in Firefox).\
Or go to Tools > Add-ons (about:addons) > Extensions > Settings/Cogwheel - Install Add-on from File\ You can also go to Tools > Add-ons (about:addons) > Extensions > Settings/Cogwheel - Install Add-on from File\
You can add/pin the add-on icon to the toolbar with the toolbar extensions menu (jigsaw puzzle shaped icon).\
Custom xpi-file has host permissions for all sites.\
Minumum browser requirement: Firefox 86+.
PS although add-on was removed from [Mozilla's add-on store (AMO)](https://addons.mozilla.org) (because of DMCA Takedown Notice) the add-on is still signed and checked for security by Mozilla ('minor' delays can in reality be a few days or up to a week though): 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). Or 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).\
> Please be aware of a recent change to AMOs review process: All extension submissions with a significantly large number of users are now subject to human review by the add-ons review team before approval. This may, occasionally, result in minor delays publishing new versions of your extension on AMO. Weve made this change to provide Firefox users with even greater security assurances for some of AMOs most popular extensions. You can also install the custom add-on version (with host permissions for all sites).
For easier access to the add-on options/settings you can add/pin the add-on icon to the toolbar with the toolbar extensions menu (jigsaw puzzle shaped icon).\
Minimum browser requirement: Firefox 86+.
PS although the add-on was removed from [Mozilla's add-on store (AMO)](https://addons.mozilla.org) (because of DMCA Takedown Notice) it's still signed and manually checked for security by Mozilla (hence the delay in signing).
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).\ 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). 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'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 ### Update
Add-on will automatically update or you can do a manual check for updates (in about:addons).\ Add-on will automatically update or you can do a manual check for updates (in about:addons).\
Either way you have to allow host permissions for newly supported sites (else no update will be installed).\ Either way you have to allow host permissions for newly supported sites (else no update will be installed).\
@ -213,7 +212,6 @@ Grouped in options:\
[Newsweek](https://www.newsweek.com) - [Newsweek](https://www.newsweek.com) -
[Outdoor Life](https://www.outdoorlife.com) - [Outdoor Life](https://www.outdoorlife.com) -
[Project Syndicate](https://www.project-syndicate.org) - [Project Syndicate](https://www.project-syndicate.org) -
[Puck.news](https://puck.news) -
[Slate](https://slate.com) - [Slate](https://slate.com) -
[SofRep](https://sofrep.com) - [SofRep](https://sofrep.com) -
[Stereogum](https://www.stereogum.com) - [Stereogum](https://www.stereogum.com) -

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release Post-release
Remove Puck.news (fix obsolete)
Fix Boersen-zeitung.de (timing) Fix Boersen-zeitung.de (timing)
* v3.5.8.0 (2024-03-03) * v3.5.8.0 (2024-03-03)

View file

@ -4792,19 +4792,6 @@ else if (matchDomain('project-syndicate.org')) {
} }
} }
else if (matchDomain('puck.news')) {
if (dompurify_loaded)
getJsonUrl('div[class*="paywall"]', '', 'div.entry-content', {art_append: true});
let modal = document.querySelector('div#paywall-modal');
removeDOMElement(modal);
let overlay = document.querySelector('body.paywall-active');
if (overlay)
overlay.classList.remove('paywall-active');
let article_style = document.querySelector('article[style]');
if (article_style)
article_style.removeAttribute('style');
}
else if (matchDomain('quora.com')) { else if (matchDomain('quora.com')) {
let overlays = document.querySelectorAll('div[class*="_overlay"]'); let overlays = document.querySelectorAll('div[class*="_overlay"]');
removeDOMElement(...overlays); removeDOMElement(...overlays);
@ -6542,7 +6529,7 @@ function googleWebcacheLink(url, text_fail = 'BPC > Try for full article text:\r
return externalLink(['webcache.googleusercontent.com'], 'https://{domain}/search?q=cache:{url}', url, text_fail); return externalLink(['webcache.googleusercontent.com'], 'https://{domain}/search?q=cache:{url}', url, text_fail);
} }
function googleSearchToolLink(url, text_fail = 'BPC > Full article text (test url & copy html (tab) code to [https://codebeautify.org/htmlviewer]:\r\n') { function googleSearchToolLink(url, text_fail = 'BPC > Full article text (test url & copy html (tab) code to [https://codebeautify.org/htmlviewer]):\r\n') {
return externalLink(['search.google.com'], 'https://search.google.com/test/rich-results?url={url}', encodeURIComponent(url), text_fail); return externalLink(['search.google.com'], 'https://search.google.com/test/rich-results?url={url}', encodeURIComponent(url), text_fail);
} }

View file

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.5.8.0" "version": "3.5.8.1"
} }

View file

@ -70,6 +70,12 @@
"block_regex": "\\.tinypass\\.com", "block_regex": "\\.tinypass\\.com",
"domain": "blick.ch" "domain": "blick.ch"
}, },
"Bm-online.de": {
"add_ext_link": "div.plenigo-teaser|div.entry-content",
"add_ext_link_type": "google_search_tool",
"allow_cookies": 1,
"domain": "bm-online.de"
},
"Bostonmagazine.com": { "Bostonmagazine.com": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "bostonmagazine.com", "domain": "bostonmagazine.com",
@ -106,6 +112,12 @@
"block_regex": "\\.piano\\.io", "block_regex": "\\.piano\\.io",
"domain": "businessinsider.de" "domain": "businessinsider.de"
}, },
"Businesslive.co.za": {
"add_ext_link": "div#comment-shield|div.article-info-container",
"add_ext_link_type": "google_search_tool",
"allow_cookies": 1,
"domain": "businesslive.co.za"
},
"Businessnews.com.au": { "Businessnews.com.au": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "businessnews.com.au", "domain": "businessnews.com.au",
@ -751,6 +763,12 @@
"block_regex": "\\.tinypass\\.com", "block_regex": "\\.tinypass\\.com",
"domain": "supchina.com" "domain": "supchina.com"
}, },
"Swp.de": {
"add_ext_link": "div.swpPayWall|section.paywall",
"add_ext_link_type": "google_search_tool",
"allow_cookies": 1,
"domain": "swp.de"
},
"T3n.de": { "T3n.de": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "t3n.de", "domain": "t3n.de",
@ -880,6 +898,12 @@
"block_regex": "\\.tinypass\\.com", "block_regex": "\\.tinypass\\.com",
"domain": "washingtontimes.com" "domain": "washingtontimes.com"
}, },
"Wissenschaft.de": {
"add_ext_link": "div.plenigo-teaser|div.entry-content",
"add_ext_link_type": "google_search_tool",
"allow_cookies": 1,
"domain": "wissenschaft.de"
},
"Wuv.de": { "Wuv.de": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "wuv.de", "domain": "wuv.de",

View file

@ -568,7 +568,6 @@
"*://*.project-syndicate.org/*", "*://*.project-syndicate.org/*",
"*://*.prospectmagazine.co.uk/*", "*://*.prospectmagazine.co.uk/*",
"*://*.public.fr/*", "*://*.public.fr/*",
"*://*.puck.news/*",
"*://*.pzc.nl/*", "*://*.pzc.nl/*",
"*://*.quora.com/*", "*://*.quora.com/*",
"*://*.quotidiano.net/*", "*://*.quotidiano.net/*",
@ -844,5 +843,5 @@
"*://archive.vn/*", "*://archive.vn/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.5.8.0" "version": "3.5.8.1"
} }

View file

@ -19,7 +19,7 @@
<div><a href="options.html" target="_blank">Options</a> | <div><a href="options.html" target="_blank">Options</a> |
<a href="options_custom.html" target="_blank">Custom</a> | <a href="options_custom.html" target="_blank">Custom</a> |
<a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean" target="_blank">Help</a> | <a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean" target="_blank">Help</a> |
<a href="https://twitter.com/Magnolia1234B" target="_blank">Twitter</a></div> <a href="https://twitter.com/Magnolia1234B" target="_blank">X (Twitter)</a></div>
<div><a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/changelog.txt" target="_blank">Changelog</a> | <div><a href="https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/changelog.txt" target="_blank">Changelog</a> |
<button id="clear_cookies" title="clear cookies (and local storage) for current site">clear cookies<br>(& permission)</button> | <button id="clear_cookies" title="clear cookies (and local storage) for current site">clear cookies<br>(& permission)</button> |
<button id="button-close" title="close popup">close</button></div> <button id="button-close" title="close popup">close</button></div>

View file

@ -1988,11 +1988,6 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.poool\.fr\// block_regex: /\.poool\.fr\//
}, },
"Puck.news": {
domain: "puck.news",
allow_cookies: 1,
cs_dompurify: 1
},
"Quartz (newsletter)": { "Quartz (newsletter)": {
domain: "qz.com", domain: "qz.com",
allow_cookies: 1, allow_cookies: 1,
@ -3050,4 +3045,4 @@ var fr_groupe_ebra_nofix_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.
var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr']; var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr'];
var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com']; var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com'];
var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl']; var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'abendblatt.de', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'arkansasonline.com', 'asahi.com', 'asiatimes.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'ewmagazine.nl', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'gva.be', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'krone.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lefilmfrancais.com', 'lemonde.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'lr-online.de', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'on3.com', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'suedkurier.de', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'zaobao.com.sg'].concat(de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_be_groupe_rossel_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains); var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'abendblatt.de', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'arkansasonline.com', 'asahi.com', 'asiatimes.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'ewmagazine.nl', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'gva.be', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'krone.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lefilmfrancais.com', 'lemonde.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'lr-online.de', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'on3.com', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'puck.news', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'suedkurier.de', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'zaobao.com.sg'].concat(de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_be_groupe_rossel_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);

View file

@ -108,6 +108,13 @@
"cs_code": "[{\"cond\":\"div.cg-article-salebox\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div.cg_article_meat>[style]\", \"rm_attrib\":\"style\"}, {\"cond\":\"article.article_status-cut\", \"rm_class\":\"article_status-cut\"}]}]", "cs_code": "[{\"cond\":\"div.cg-article-salebox\", \"rm_elem\":1, \"elems\":[{\"cond\":\"div.cg_article_meat>[style]\", \"rm_attrib\":\"style\"}, {\"cond\":\"article.article_status-cut\", \"rm_class\":\"article_status-cut\"}]}]",
"upd_version": "3.5.6.6" "upd_version": "3.5.6.6"
}, },
"Puck.news (removed)": {
"domain": "puck.news",
"allow_cookies": 1,
"cs_block": 1,
"nofix": 1,
"upd_version": "3.5.8.1"
},
"SPH Media": { "SPH Media": {
"domain": "###_sg_sph_media", "domain": "###_sg_sph_media",
"group": [ "group": [