Version 1.9.1
- Fixed badged in quiet mode
This commit is contained in:
parent
902605f8ee
commit
92d582b8d2
|
@ -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/),
|
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).
|
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
|
## [1.9.0] - 2019-10-22
|
||||||
|
|
||||||
### Compatibility note
|
### Compatibility note
|
||||||
|
|
|
@ -78,8 +78,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false)
|
||||||
|
|
||||||
checkOSAndroid().then((res) => {
|
checkOSAndroid().then((res) => {
|
||||||
if(!res) {
|
if(!res) {
|
||||||
|
if(storage.badgedStatus && !quiet) {
|
||||||
if(storage.badgedStatus) {
|
|
||||||
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
|
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -159,8 +158,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false)
|
||||||
|
|
||||||
checkOSAndroid().then((res) => {
|
checkOSAndroid().then((res) => {
|
||||||
if(!res) {
|
if(!res) {
|
||||||
|
if(storage.badgedStatus && !quiet) {
|
||||||
if(storage.badgedStatus) {
|
|
||||||
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
|
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -193,7 +191,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false)
|
||||||
|
|
||||||
checkOSAndroid().then((res) => {
|
checkOSAndroid().then((res) => {
|
||||||
if(!res) {
|
if(!res) {
|
||||||
if(storage.badgedStatus) {
|
if(storage.badgedStatus && !quiet) {
|
||||||
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
|
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "ClearURLs",
|
"name": "ClearURLs",
|
||||||
"version": "1.9.0",
|
"version": "1.9.1",
|
||||||
"author": "Kevin Röbert",
|
"author": "Kevin Röbert",
|
||||||
"description": "Remove tracking elements from URLs.",
|
"description": "Remove tracking elements from URLs.",
|
||||||
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user