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 5980e844..431d84be 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -222,6 +222,9 @@ BackgroundCommands = chrome.tabs.getSelected(null, (tab) -> chrome.tabs.duplicate(tab.id) selectionChangedHandlers.push(callback)) + moveTabToNewWindow: (callback) -> + chrome.tabs.getSelected(null, (tab) -> + chrome.windows.create({tabId: tab.id})) nextTab: (callback) -> selectTab(callback, "next") previousTab: (callback) -> selectTab(callback, "previous") firstTab: (callback) -> selectTab(callback, "first") |
