I have a project site which have links or buttons that open popups, and avoid opening duplicates by calling focus() if the requested window already exists. But Firefox ignores window.focus() for tabs, which makes the links seem like they're broken if you forget you already have the window open. This is even more confusing when sites reuse windows to load different content.
I have already tried :
//First possibility
$window.open(url,getLinkType(url)).focus();
//Second possibility
var win = $window.open(url,getLinkType(url));
win.focus();
None of the above seems to work for firefox as firefox disregards the focus method after the open() and focuses on the first open(). Is there any work around which would set the focus on the new tab.