aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorPablo Fernandez2012-01-24 22:11:58 -0300
committerPablo Fernandez2012-01-24 22:11:58 -0300
commitb6c8815b3e4276c10966df2a1492efdb19b0bc73 (patch)
tree6cedcef76c48d53904894ff29096a445542f8eaf /background_page.html
parentfb99302b22ddcc7a2ecd7c21e43f3548d937701d (diff)
downloadvimium-b6c8815b3e4276c10966df2a1492efdb19b0bc73.tar.bz2
hide HUD option
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index 814c0687..899d4a51 100644
--- a/background_page.html
+++ b/background_page.html
@@ -766,6 +766,15 @@
function runTests() {
open(chrome.extension.getURL('test_harnesses/automated.html'));
}
+
+ /**
+ * Determines wether the heads up display (HUD) is enabled or not.
+ *
+ * This value is configurable via the options page.
+ */
+ function hudDisabled() {
+ return localStorage['hideHud'] !== "true";
+ }
</script>
</head>
</html>