From e49b96a1038e00263129b6d1aacb7d4f5d4de828 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 15 Aug 2020 21:43:54 +0200 Subject: [PATCH] Update installation instructions --- README.md | 4 +++- contentScript.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85dcd4e4..0b90453b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ ### Installation [Download and install the latest version](https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads) Here you can also find a limited permissions version (custom sites will not be working though). -Install add-on by downloading xpi-file. +Install add-on by downloading xpi-file. +On Android this add-on only works with Firefox 68 (Fennec); Firefox 79 (Fenix) only supports 9 add-ons (for now). +So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/) ### List of supported websites ##### World news diff --git a/contentScript.js b/contentScript.js index 8536bbef..4fba7bfa 100644 --- a/contentScript.js +++ b/contentScript.js @@ -122,7 +122,7 @@ else if (matchDomain("washingtonpost.com")) { } } -else if (matchDomain("wsj.com") & !matchDomain("cn.wsj.com")) { +else if (matchDomain("wsj.com") && !matchDomain("cn.wsj.com")) { if (location.href.includes('/articles/')) { const close_button = document.querySelector('div.close-btn[role="button"]'); if (close_button)