aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 73e31c7e..30576554 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -247,6 +247,8 @@ moveTab = (callback, direction) ->
BackgroundCommands =
createTab: (callback) ->
url = Settings.get "newTabUrl"
+ # FIXME(smblott). "pages/blank.html" doesn't work in incognito mode. It opens the tab in a
+ # non-incognito-mode window. Perhaps we should just use "chrome://newtab" in that case?
url = chrome.runtime.getURL url if url == "pages/blank.html"
openUrlInNewTab { url }, callback
duplicateTab: (callback) ->