From 92d582b8d21550eba27d57ce057e0bba8dee3292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Thu, 24 Oct 2019 20:13:38 +0200 Subject: [PATCH] Version 1.9.1 - Fixed badged in quiet mode --- CHANGELOG.md | 9 +++++++++ clearurls.js | 8 +++----- manifest.json | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b085f0c..2bf61bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.1] - 2019-10-24 + +### Compatibility note +- Require Firefox >= 55 +- Require Chrome >= 22 + +### Fixed +- Fixed badged in quiet mode + ## [1.9.0] - 2019-10-22 ### Compatibility note diff --git a/clearurls.js b/clearurls.js index c0b3e6d..3b8c26f 100644 --- a/clearurls.js +++ b/clearurls.js @@ -78,8 +78,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false) checkOSAndroid().then((res) => { if(!res) { - - if(storage.badgedStatus) { + if(storage.badgedStatus && !quiet) { browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid}); } else @@ -159,8 +158,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false) checkOSAndroid().then((res) => { if(!res) { - - if(storage.badgedStatus) { + if(storage.badgedStatus && !quiet) { browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid}); } else @@ -193,7 +191,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false) checkOSAndroid().then((res) => { if(!res) { - if(storage.badgedStatus) { + if(storage.badgedStatus && !quiet) { browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid}); } else diff --git a/manifest.json b/manifest.json index 85b7df6..a327cb9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ClearURLs", - "version": "1.9.0", + "version": "1.9.1", "author": "Kevin Röbert", "description": "Remove tracking elements from URLs.", "homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",