Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
How to open 4 urls in separate tabs with one click

Is there a way I can create one clickable link to open 4 different URL's as Browser tabs?

I tried to get it to work with window.open but can't figure out how to get multiple urls each on a new tab.

For example

<a href="#" onclick="window.open('http://google.com'); window.open('http://yahoo.com');">Click to open Google and Yahoo</a>

Thanks for your help

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Your link is working for me. Please check if your Browser blocks the tab-creation (block-icon in the toolbar).

about 4 years ago · Juan Pablo Isaza Report

0

As per my comment above, I was actually doing it right, it was the browser stopping it from working, enabling popups fixed it.

Multiple window.open's is what I needed to use, e.g.

<a href="#" onclick="window.open('http://google.com'); window.open('http://yahoo.com'); window.open('http://bing.com'); window.open('http://duckduckgo.com');">Click to open Search Engines</a>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!