1

I wish there is a javascript code which I can copy and paste into my browser's address bar to open multiple websites at once in different tabs.

0

1 Answer 1

3
javascript:var urls = ['http://www.google.com','http://www.stackoverflow.com']; for (i=0;i<urls.length;i++) window.open(urls[i]);
Sign up to request clarification or add additional context in comments.

1 Comment

Or on newer browsers: javascript:['http://www.google.com','http://www.stackoverflow.com'].map(open)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.