Chrome automatically opens the URL in a new tab only if it is a user action limited to one tab for each user action. In any other case, the URL will be opened in a new window (which, by the way, is blocked by default in Chrome).
window.open must be called in a callback that is triggered by a user action (for example, onclick) to open the page in a new tab instead of a window.
In your example, you are trying to open N tabs with user action. But only the first one is open in a new tab (because this is an action created by the user). After that, any other URL will open in a new window.
Similar question: force window.open () create a new tab in chrome (see maclema answer)
Bagelzone Ha'bonè
source share