Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

98
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda