createElement(a) Firefox opens a new window rather then tab from any other process calling firefox. Example screen grab utility needs to load a new url.When right clicking to open link in new window (not tab) foxfire immediately switches windows rather than opening new window in background. There are also publishers who use new instead of blank as the value for target attribute to open a link in new window. There is actually no new defined as frame target names by W3C HTML standards.Always Open in New Window or New Tab (targetblank): blank. CSS3 supports open in new tab, by the property target-new.Use the window.open(url, target) function instead it takes a URL, and a target window name, which behaves the same as the targetsomething attribute on a link.