diff options
Diffstat (limited to 'background_page.html')
| -rw-r--r-- | background_page.html | 9 |
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> |
