I have a small bit of javascript intended to open two or more tabs. This works fine in FF and IE, but chrome opens the second one in a new window instead of tab. It isn't dependant on the url as I've tried it with two identical url's. First opens in tab, second one in new window.
Here's my code snippet:
for(var i=0 ; i<sites.length ;i++)
{
window.open(sites[i].Url);
}
See Question&Answers more detail:os