diff options
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/commands.coffee | 4 | ||||
| -rw-r--r-- | background_scripts/main.coffee | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 5614e576..81329062 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -110,7 +110,7 @@ Commands = advancedCommands: [ "scrollToLeft", "scrollToRight", "moveTabToNewWindow", "goUp", "goToRoot", "focusInput", "LinkHints.activateModeWithQueue", - "LinkHints.activateModeToOpenIncognitoWindow", "goNext", "Marks.activateCreateMode", "Marks.activateGotoMode"] + "LinkHints.activateModeToOpenIncognito", "goNext", "Marks.activateCreateMode", "Marks.activateGotoMode"] defaultKeyMappings = "?": "showHelp" @@ -217,7 +217,7 @@ commandDescriptions = 'LinkHints.activateModeToOpenInNewTab': ["Open a link in a new tab"] 'LinkHints.activateModeWithQueue': ["Open multiple links in a new tab"] - "LinkHints.activateModeToOpenIncognitoWindow": ["Open a link in incognito window"] + "LinkHints.activateModeToOpenIncognito": ["Open a link in incognito window"] enterFindMode: ["Enter find mode"] performFind: ["Cycle forward to the next find match"] diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 3e6f2dad..c750162e 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -168,7 +168,7 @@ openUrlInNewTab = (request) -> chrome.tabs.getSelected(null, (tab) -> chrome.tabs.create({ url: Utils.convertToUrl(request.url), index: tab.index + 1, selected: true })) -openUrlInIncognitoWindow = (request) -> +openUrlInIncognito = (request) -> chrome.windows.create({ url: Utils.convertToUrl(request.url), incognito: true}) # @@ -564,7 +564,7 @@ sendRequestHandlers = getCompletionKeys: getCompletionKeysRequest, getCurrentTabUrl: getCurrentTabUrl, openUrlInNewTab: openUrlInNewTab, - openUrlInIncognitoWindow: openUrlInIncognitoWindow, + openUrlInIncognito: openUrlInIncognito, openUrlInCurrentTab: openUrlInCurrentTab, openOptionsPageInNewTab: openOptionsPageInNewTab, registerFrame: registerFrame, |
