summaryrefslogtreecommitdiff
path: root/src/ui/popup.html
diff options
context:
space:
mode:
authorhackademix2018-08-13 01:33:40 +0200
committerhackademix2018-08-13 01:33:40 +0200
commitaf4ec5c169f4758cd52f0db82aaa25dca061067e (patch)
tree0197c6dd6fac9ac829f2846a55b71e139e4667bc /src/ui/popup.html
parente392a73a508c917c05a0710130eed7959c1bc145 (diff)
downloadnoscript-af4ec5c169f4758cd52f0db82aaa25dca061067e.tar.gz
noscript-af4ec5c169f4758cd52f0db82aaa25dca061067e.tar.xz
noscript-af4ec5c169f4758cd52f0db82aaa25dca061067e.zip
"High contrast appearance" option to override high contrast themes auto-detection.
Diffstat (limited to 'src/ui/popup.html')
-rw-r--r--src/ui/popup.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/popup.html b/src/ui/popup.html
index d988429..517b233 100644
--- a/src/ui/popup.html
+++ b/src/ui/popup.html
@@ -12,7 +12,7 @@
<script src="/ui/ui.js"></script>
</head>
-<body>
+<body id="noscript-popup">
<div id="main">
<div id="top">
<a aria-role="button" id="close" class="close icon">__MSG_Close__</a>
@@ -30,6 +30,12 @@
<a aria-role="button" id="revoke-temp" class="toggle icon">__MSG_RevokeTemp__</a>
</div>
<div id="message" class="hidden"></div>
+<div id="high-contrast-chooser" class="opt-group">
+ <span id="highContrast-opt">
+ <input type="checkbox" id="opt-highContrast">
+ <label for="opt-highContrast" id="lbl-highContrast">__MSG_HighContrast__</label>
+ </span>
+</div>
<div id="content"></div>
<div id="sites"></div>
<div id="buttons">