From 9a6b5b7f06d19aba29bf47df302802278b147f29 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 2 May 2020 16:26:22 +0200 Subject: [PATCH] Prepare v1.7.1.0 --- changelog.txt | 13 +++++++++++++ contentScript.js | 2 +- lp/manifest.json | 2 +- manifest.json | 2 +- updates.json | 5 +++-- updates_lp.json | 5 +++-- 6 files changed, 22 insertions(+), 7 deletions(-) diff --git a/changelog.txt b/changelog.txt index f7913f4..6a57a8b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,19 @@ Changelog Bypass Paywalls Clean - Firefox +* v1.7.1.0 (2020-05-02) +Add Le Journal du Net.fr +Add Sciences et Avenir.fr +Fix-update Challenges.fr +Fix-update Economist +Fix-update Faz.net (layout) +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) +Resynch Chrome/Firefox code + * v1.7.0.5 (2020-04-28) BitBucket transfer diff --git a/contentScript.js b/contentScript.js index ebd0570..2e1116c 100644 --- a/contentScript.js +++ b/contentScript.js @@ -447,7 +447,7 @@ else if (matchDomain("lesechos.fr")) { const contentNode = document.createElement('div'); contentNode.innerHTML = article; contentNode.className = paywallNode.className; - paywallNode.parentNode?.insertBefore(contentNode, paywallNode); + paywallNode.parentNode.insertBefore(contentNode, paywallNode); removeDOMElement(paywallNode); const paywallLastChildNode = document.querySelector('.post-paywall > :last-child'); if (paywallLastChildNode) { diff --git a/lp/manifest.json b/lp/manifest.json index 6d15eb7..2a62e5a 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -260,5 +260,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.7.0.5" + "version": "1.7.1.0" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 4fd6233..f0232d7 100644 --- a/manifest.json +++ b/manifest.json @@ -39,5 +39,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.7.0.5" + "version": "1.7.1.0" } \ No newline at end of file diff --git a/updates.json b/updates.json index 91ee7cf..1bbdbc1 100644 --- a/updates.json +++ b/updates.json @@ -1,10 +1,11 @@ - { "addons": { "magnolia@12.34": { "updates": [ { "version": "1.7.0.5", - "update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.7.0.5.xpi" } + "update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.7.0.5.xpi" }, + { "version": "1.7.1.0", + "update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.7.1.0.xpi" } ] } } diff --git a/updates_lp.json b/updates_lp.json index c9a0703..312eb08 100644 --- a/updates_lp.json +++ b/updates_lp.json @@ -1,10 +1,11 @@ - { "addons": { "magnolia_limited_permissions@12.34": { "updates": [ { "version": "1.7.0.5", - "update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean_lp-1.7.0.5.xpi" } + "update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean_lp-1.7.0.5.xpi" }, + { "version": "1.7.1.0", + "update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean_lp-1.7.1.0.xpi" } ] } }