diff options
| author | Tobias Gläßer | 2016-09-23 13:49:31 +0200 |
|---|---|---|
| committer | Tobias Gläßer | 2016-09-23 14:40:02 +0200 |
| commit | 641378f58002a4c2314a53eae401e26acc46907c (patch) | |
| tree | 0e44c32ad36ea559bf03cb872bb8bb5b20af75a6 /background_scripts/main.coffee | |
| parent | 4b1654f820b645a339f98160a1607c042217bf9d (diff) | |
| download | vimium-641378f58002a4c2314a53eae401e26acc46907c.tar.bz2 | |
New feature/command: Mute/unmute tab.
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 929d5537..6a994707 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -210,6 +210,7 @@ BackgroundCommands = openCopiedUrlInCurrentTab: (request) -> TabOperations.openUrlInCurrentTab extend request, url: Clipboard.paste() openCopiedUrlInNewTab: (request) -> @createTab extend request, url: Clipboard.paste() togglePinTab: ({tab}) -> chrome.tabs.update tab.id, {pinned: !tab.pinned} + toggleMuteTab: ({tab}) -> chrome.tabs.update tab.id, {muted: !tab.muted} moveTabLeft: moveTab moveTabRight: moveTab nextFrame: ({count, frameId, tabId}) -> |
