mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 04:43:42 +02:00
Update block general paywall script (limit Piano.io/TinyPass)
This commit is contained in:
parent
52612a609e
commit
bd401fce6e
5 changed files with 13 additions and 14 deletions
|
@ -17,7 +17,9 @@ Weekly updates are released for fixes and new sites.
|
|||
* [Disclaimer](#disclaimer)
|
||||
|
||||
### Installation
|
||||
You can install the add-on from [GitLab](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 xpi-file (from latest release), go to downloads and install the add-on.\
|
||||
Or go to Tools > Add-ons (about:addons) > Extensions > Cogwheel/Settings - Install Add-on from File\
|
||||
Minumum browser requirement: Firefox 86+.
|
||||
|
||||
If you want to install the latest [master ZIP-file from GitLab](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/archive/master/bypass-paywalls-firefox-clean-master.zip) 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).\
|
||||
|
@ -26,7 +28,8 @@ Or load a temporary add-on in regular Firefox (go to about:debugging#/runtime/th
|
|||
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 non-listed sites). You can also just request permissions for the custom sites you added yourself (or click `clear cookies` (BPC-icon) to ask for permission for current site).
|
||||
|
||||
### Update
|
||||
Check for updates (in about:addons) and allow permissions for newly supported sites (else no update will be installed).\
|
||||
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).\
|
||||
You can also check for update of site rules at startup (opt-in); only available until about 10 days after fix-release.\
|
||||
For new sites you also have to opt-in to custom sites/request permissions for new domains (or wait for new release).
|
||||
|
||||
|
|
|
@ -407,7 +407,8 @@ ext_api.storage.local.get({
|
|||
ext_api.management.getSelf(function (result) {
|
||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||
let new_groups = ['###_de_noz_mhn'];
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain)));
|
||||
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))) ||
|
||||
(enabledSites.includes('tinypass.com') && !enabledSites.includes('piano.io'));
|
||||
if (open_options)
|
||||
ext_api.runtime.openOptionsPage();
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ Fix LesEchos.fr (json)
|
|||
Fix McClatchy Group (amp-redirect)
|
||||
Fix The West Australian (regional; identify site)
|
||||
Remove amo-support
|
||||
Update block general paywall script (limit Piano.io/TinyPass)
|
||||
|
||||
* v3.0.4.0 (2023-02-05)
|
||||
Add Inside Higher Ed
|
||||
|
|
|
@ -733,5 +733,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.0.4.7"
|
||||
"version": "3.0.4.8"
|
||||
}
|
||||
|
|
14
sites.js
14
sites.js
|
@ -1012,7 +1012,7 @@ var defaultSites = {
|
|||
"Krautreporter.de": {
|
||||
domain: "krautreporter.de"
|
||||
},
|
||||
"Kurier.at (do not block TinyPass & Piano.io-script externally)": {
|
||||
"Kurier.at (do not block TinyPass-script externally)": {
|
||||
domain: "kurier.at",
|
||||
allow_cookies: 1,
|
||||
block_regex: /cdn\.cxense\.com\//
|
||||
|
@ -2294,11 +2294,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex_general: /js\.pelcro\.com\//
|
||||
},
|
||||
"Piano.io": {
|
||||
"Piano.io (+ TinyPass)": {
|
||||
domain: "piano.io",
|
||||
allow_cookies: 1,
|
||||
block_regex_general: /\.piano\.io\//,
|
||||
excluded_domains: ["piano.io", "asia.nikkei.com", "brusselstimes.com", "businesspost.ie", "japantimes.co.jp", "kurier.at", "lkz.de"]
|
||||
block_regex_general: /\.piano\.io\/xbuilder\/experience\/execute/,
|
||||
excluded_domains: ["piano.io", "asia.nikkei.com", "businesspost.ie", "japantimes.co.jp", "kurier.at"]
|
||||
},
|
||||
"Pico.tools": {
|
||||
domain: "pico.tools",
|
||||
|
@ -2326,12 +2326,6 @@ var defaultSites = {
|
|||
block_regex_general: /\/steadyhq\.com\//,
|
||||
excluded_domains: ["steadyhq.com"]
|
||||
},
|
||||
"TinyPass": {
|
||||
domain: "tinypass.com",
|
||||
allow_cookies: 1,
|
||||
block_regex_general: /cdn\.tinypass\.com\//,
|
||||
excluded_domains: ["piano.io", "kurier.at"]
|
||||
},
|
||||
"TownNews sites (Blox CMS; not encrypted)": {
|
||||
domain: "###_usa_townnews",
|
||||
block_regex_general: /\.com\/shared-content\/art\/tncms\/user\/user\.js/
|
||||
|
|
Loading…
Reference in a new issue