Add Le Un (France)

This commit is contained in:
magnolia1234 2021-02-01 17:21:49 +01:00
parent db3533e439
commit e31b2c75bc
6 changed files with 14 additions and 5 deletions

View file

@ -20,12 +20,15 @@ By default BPC has limited permissions, but you can opt-in to enable custom site
Check for updates (in about:addons) and allow permissions for newly supported sites (else no update will be installed).
#### Android
On Android this add-on doesn't work with latest Firefox v84 (Fenix); it only supports 9 'recommended' add-ons (for now).\
On Android this add-on doesn't work with latest Firefox v84 (Fenix); it only supports a number of 'recommended' add-ons (for now).\
Only from Firefox v85 you can install recommended add-ons via [AMO](https://addons.mozilla.org) - so no more need to add these to your custom add-on collection (see below).
BPC add-on works fine in [Firefox Nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix), [Fennec F-Droid](https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/) or [IceRaven](https://github.com/fork-maintainers/iceraven-browser) though (when you load BPC from a [custom add-on collection](https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly)).\
For Firefox Nightly or Fennec F-Droid (based on latest Firefox for Android) you have to make your own custom add-on collection (or use another that contains BPC). \
[Iceraven (Fenix fork)](https://github.com/fork-maintainers/iceraven-browser) uses: [What I want on Fenix](https://addons.mozilla.org/en-US/firefox/collections/16201230/What-I-want-on-Fenix)\
It has a custom add-ons account: 16201230 & collection: What-I-want-on-Fenix.\
In IceRaven all add-ons are shown (with search option), but In Firefox Nightly and Fennec F-Droid only the first 50 add-ons are shown (including this add-on).\
In IceRaven all add-ons are shown (with search option), but In Firefox Nightly and Fennec F-Droid only the first 50 add-ons are shown (including this add-on).
PS enabling custom sites (optional permissions) isn't working on Android (Firefox Nightly, Fennec F-Droid or IceRaven).
#### Chrome/Chromium
@ -206,6 +209,7 @@ Alma Talent sites (grouped in options) like
[Le Journal du Dimanche](https://lejdd.fr)
[Le Journal du Net](https://www.journaldunet.com) -
[Le Parisien](https://www.leparisien.fr) -
[Le Un](https://le1hebdo.fr) -
[Les Échos](https://www.lesechos.fr) -
[Libération](https://www.liberation.fr)*
[Paris Match](https://www.parismatch.com) -

View file

@ -262,6 +262,7 @@ var blockedRegexes = {
'independent.ie': /(cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js)/,
'inquirer.com': /\.tinypass\.com\/.+/,
'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js/,
'japantimes.co.jp': /\.piano\.io\//,
'jpost.com': /\.jpost\.com\/bundles\/js_article\?/,
'knack.be': /.+\.knack\.be\/js\/responsive\/rmgModal\.js/,
'kurier.at': /\.tinypass\.com\/.+/,
@ -273,6 +274,7 @@ var blockedRegexes = {
'latimes.com': /js\.matheranalytics\.com\/.+/,
'lavanguardia.com': /(\.evolok\.net\/.+\/authorize\/|\.lavanguardia\.com\/(js\/)?godo-)/,
'lc.nl': /.+\.evolok\.net\/.+\/authorize\/.+/,
'le1hebdo.fr': /(\.qiota\.com\/|\/le1hebdo\.fr\/assets\/front\/js\/qiota\.script\.js)/,
'lejdd.fr': /.+\.poool\.fr\/.+/,
'leparisien.fr': /\.tinypass\.com\/.+/,
'lesechos.fr': /\.tinypass\.com\/.+/,

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Le Un (France)
* v2.0.6.0 (2021-01-31)
Add Griffith Review (Australia)
@ -391,7 +392,7 @@ Fix-update LaDepeche.fr
Fix-update LesEchos.fr (premium)
Fix-update Miami Herald
Add changelog & update json links (raw)
Fix mismatch domain with url query string (usse matchDomain also in background.js)
Fix mismatch domain with url query string (use matchDomain also in background.js)
Resynch Chrome/Firefox code
* v1.7.0.5 (2020-04-28)

View file

@ -2011,7 +2011,7 @@ else if (matchDomain('elmercurio.com')) {
else if (matchDomain('stratfor.com')) {
let banner = document.querySelector('.free-cta-container');
removeDOMElement(banner);
let css_link = document.querySelector('link[rel="stylesheet"][href="/assets/worldview.586bbca0b199b8ce5042.css"]');
let css_link = document.querySelector('link[rel="stylesheet"]:not([href="/assets/worldview.d6b47e5305e05acb0c45.css"])');
if (css_link)
css_link.href = '/assets/worldview.d6b47e5305e05acb0c45.css';
}

View file

@ -221,6 +221,7 @@
"*://*.lavoixdunord.fr/*",
"*://*.lavozdigital.es/*",
"*://*.lc.nl/*",
"*://*.le1hebdo.fr/*",
"*://*.lecho.be/*",
"*://*.ledauphine.com/*",
"*://*.ledevoir.com/*",
@ -446,5 +447,5 @@
"*://*.userzoom.com/*",
"*://*.wsj.net/*"
],
"version": "2.0.6.0"
"version": "2.0.6.1"
}

View file

@ -125,6 +125,7 @@ var defaultSites =
"Le Journal du Net": "journaldunet.com",
"Le Parisien": "leparisien.fr",
"Le Scienze": "lescienze.it",
"Le Un": "le1hebdo.fr",
"Leeuwarder Courant": "lc.nl",
"Les Échos": "lesechos.fr",
"Libération (free articles only)": "liberation.fr",