diff options
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 283826de..72f87a7e 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -145,6 +145,9 @@ mkRepeatCommand = (command) -> (request) -> # These are commands which are bound to keystrokes which must be handled by the background page. They are # mapped in commands.coffee. BackgroundCommands = + # Create a new tab. Also, with: + # map X createTab http://www.bbc.com/news + # create a new tab with the given URL. createTab: mkRepeatCommand (request, callback) -> request.urls ?= if request.url |
