diff options
author | hackademix | 2018-10-26 01:36:11 +0200 |
---|---|---|
committer | hackademix | 2018-10-26 01:36:11 +0200 |
commit | 6860ee2a403ad118327dfda6b2307bdb95b37e2c (patch) | |
tree | 2e6505b1d825079150306582566292bae54e9af5 | |
parent | c1f359ddf4cef5302c09adbc366590143babf3da (diff) | |
download | noscript-6860ee2a403ad118327dfda6b2307bdb95b37e2c.tar.gz noscript-6860ee2a403ad118327dfda6b2307bdb95b37e2c.tar.xz noscript-6860ee2a403ad118327dfda6b2307bdb95b37e2c.zip |
Darker red badge background to ensure text is kept white across browsers.
-rw-r--r-- | src/bg/RequestGuard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/RequestGuard.js b/src/bg/RequestGuard.js index 9be532f..55a78c8 100644 --- a/src/bg/RequestGuard.js +++ b/src/bg/RequestGuard.js @@ -110,7 +110,7 @@ var RequestGuard = (() => { let browserAction = browser.browserAction; browserAction.setIcon({tabId, path: {64: `/img/ui-${icon}64.png`}}); browserAction.setBadgeText({tabId, text: showBadge ? numBlocked.toString() : ""}); - browserAction.setBadgeBackgroundColor({tabId, color: [255, 0, 0, 128]}); + browserAction.setBadgeBackgroundColor({tabId, color: [128, 0, 0, 160]}); browserAction.setTitle({tabId, title: `${VERSION_LABEL} \n${enforced ? _("BlockedItems", [numBlocked, numAllowed + numBlocked]) + ` \n${report}` |