mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 06:05:37 +07:00
Version 1.9.1
- Fixed badged in quiet mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user