Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can window.open open multiple tabs at once?

Tags:

javascript

Can I open a new window but with multiple tabs?

Something like this:

window.open("cnn.com;foxnews.com;nyt.com");
like image 413
David Avatar asked Jul 26 '13 17:07

David


1 Answers

There's no concept of tab in standard DOM.

In fact when you ask the browser to open a window it might be a tab, depending on the browser and user settings.

So, apart writing extensions that the user will have to install, no, you can't do that.

like image 97
Denys Séguret Avatar answered Oct 28 '22 22:10

Denys Séguret



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!