From a109edeecfeca37b59fa43e9ff9d86130ba71a49 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 18 Feb 2023 18:10:41 +0100 Subject: [PATCH] Fix Grupo Abril (js) --- README.md | 8 +++++--- changelog.txt | 1 + sites.js | 2 +- sites_updated.json | 5 +++++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cb43a3b4..a3bdf5dc 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Weekly updates are released for fixes and new sites. ### Installation 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\ +Or go to Tools > Add-ons (about:addons) > Extensions > Settings/Cogwheel - Install Add-on from File\ Custom xpi-file has host permissions for all sites.\ Minumum browser requirement: Firefox 86+. @@ -44,9 +44,11 @@ There is still an elaborate workaround for regular Firefox though: * install an old version of Firefox (like [v68.11.0](https://www.apkmirror.com/apk/mozilla/firefox/firefox-68-11-0-release/)); you have to remove your current Firefox app (or use an old Firefox Beta version) * download add-on's xpi-file (custom version if you want to use custom sites) from [releases](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases) and install/open in Firefox * now you can update Firefox to the latest version -* add-on will stay active & automatically updates to the latest version (in add-ons it will be labeled as not yet available) +* add-on will stay active & automatically updates to the latest version +* in add-ons it will be labeled as not yet available and also has no more option to enable the add-on in private browsing -The experimental Mozac/GeckoView-based browser [SmartCookieWeb-Preview](https://github.com/CookieJarApps/SmartCookieWeb-Preview/releases) can also install/sideload a xpi-file by url. +The experimental Mozac/GeckoView-based browser [SmartCookieWeb-Preview](https://github.com/CookieJarApps/SmartCookieWeb-Preview/releases) can also install/sideload a xpi-file by url (Settings > Advanced settings > Sideload XPI).\ +No option to enable the add-on in private browsing though. Or switch to [Kiwi browser (Chromium)](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser) or use the [adblocker filter/userscripts](https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters) diff --git a/changelog.txt b/changelog.txt index 204c9210..39169046 100644 --- a/changelog.txt +++ b/changelog.txt @@ -13,6 +13,7 @@ Remove LePoint.fr (fix obsolete) Remove NordEclair.fr (domain obsolete) Fix Australia News Corp (no amp-fix) Fix El Tiempo (css) +Fix Grupo Abril (js) Fix Lc.nl Fix Outside (js) Update block general paywall script (FewCents) diff --git a/sites.js b/sites.js index 60fdc897..e3fcfbe9 100644 --- a/sites.js +++ b/sites.js @@ -754,7 +754,7 @@ var defaultSites = { "Grupo Abril": { domain: "abril.com.br", allow_cookies: 1, - block_regex: /(\.abril\.com\.br\/.+\/abril-paywall\/js\/abril-paywall\.js|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/ + block_regex: /(\.abril\.com\.br\/.+\/abril-paywall\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/ }, "Grupo El Comercio": { domain: "###_pe_grupo_elcomercio", diff --git a/sites_updated.json b/sites_updated.json index 5d2e58fb..389b0a7d 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -26,6 +26,11 @@ "block_regex": "\\.tinypass\\.com", "cs_code": "[{\"cond\":\"div.modulos\",\"rm_class\":\"modulos\"}]" }, + "Grupo Abril": { + "domain": "abril.com.br", + "allow_cookies": 1, + "block_regex": "(\\.abril\\.com\\.br\\/.+\\/abril-paywall\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)" + }, "Inside Higher Ed": { "domain": "insidehighered.com", "allow_cookies": 1,