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

224
Vistas
Detect url of window that opened my angular application

Is there a way in angular to know from where is my application been opened? I mean if my application is opened from another tab or window, how can I get the URL of window from where is doing the call? thanks

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

When a window/tab is opened from a different window/tab, you can access the address of opener using following js:

window.opener.location

The prerequisite to use that is that the link that opened the window has rel="opener" attribute, since modern browsers don't allow access to opener by default.

about 4 years ago · Juan Pablo Isaza Denunciar

0

If the other app is also yours, add some "place_id" to the URL to open your app. Different "place_id" from different places. And analyze it in the app via "window.location" or via router parameters.

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