diff options
Diffstat (limited to 'background.js')
-rw-r--r-- | background.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/background.js b/background.js index bd2be70..558fb55 100644 --- a/background.js +++ b/background.js @@ -69,3 +69,11 @@ function wildcard_domains (hostname) { return domains; } + + +// Keyboard shortcuts. +browser.commands.onCommand.addListener(function(command) { + if (command === 'reload') { + browser.runtime.reload(); + } +}); |