piroor/foxsplitter — Issue #36: Ctrl-Tab and other "New Tab" commands open new tab in the main window instead of split windows
Author: piroor
Created: 2012-01-23 05:33:23+00:00
State: open

Because openLinkIn() refers the "chromehidden" status of the window, new tabs are always opened in a normal window (which has no "chromehidden" attribute).

var w = getTopWin();
if ((where == "tab" || where == "tabshifted") &&
w && w.document.documentElement.getAttribute("chromehidden")) {
w = getTopWin(true);
aRelatedToCurrent = false;
}

To fix this issue, we have to hide UI elements without "chromehidden" attribute.