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

273
Vistas
Get the redirect URL of Shortened URL

I want to get the redirect URL of this link, https://goo.gl/maps/7jNqZtPa5Cjf333k7

Since Google URL Shortner API Service is no longer available Is there any way to get the redirect URL without redirecting to it? When the link, https://goo.gl/maps/7jNqZtPa5Cjf333k7 is clicked it redirects to,

https://www.google.com/maps?q=Kandanawatta&ftid=0x3ae2523ff96d8abf:0x4a6d8d4b68830686&hl=en-US&gl=us&entry=gps&g_ep=CAIYAA%3D%3D&shorturl=1

My question is: How to get the redirecting URL using JavaScript without redirecting to the page? Thanks.

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

0

If you're using fetch, the url property on the response will contain the final url. Link here.

To quote from the docs:

The url read-only property of the Response interface contains the URL of the response. The value of the url property will be the final URL obtained after any redirects.

The response also has a redirected property which indicates if a redirect occurred.

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