From 359c6c3436d08ea0b80c7cdfaa482c04f7592512 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 15 Mar 2015 15:49:30 +0000 Subject: Note that createTab/pages/blank.html doesn't work in incognito mode. --- background_scripts/main.coffee | 2 ++ 1 file changed, 2 insertions(+) (limited to 'background_scripts') 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) -> -- cgit v1.2.3