summaryrefslogtreecommitdiff
path: root/src/bg
diff options
context:
space:
mode:
authorhackademix2018-10-26 01:36:11 +0200
committerhackademix2018-10-26 01:36:11 +0200
commit6860ee2a403ad118327dfda6b2307bdb95b37e2c (patch)
tree2e6505b1d825079150306582566292bae54e9af5 /src/bg
parentc1f359ddf4cef5302c09adbc366590143babf3da (diff)
downloadnoscript-6860ee2a403ad118327dfda6b2307bdb95b37e2c.tar.gz
noscript-6860ee2a403ad118327dfda6b2307bdb95b37e2c.tar.xz
noscript-6860ee2a403ad118327dfda6b2307bdb95b37e2c.zip
Darker red badge background to ensure text is kept white across browsers.
Diffstat (limited to 'src/bg')
-rw-r--r--src/bg/RequestGuard.js2
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}`