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

275
Vistas
How to redirect/open an external link without referer in header

How Can I Emulate A Website Visit Within The html/js Script

The Purpose is To Visit the url without referer or host header because the website/API I visited only gives the json response if the header has no referer/host else if the refer/host is that website's domain

When a user copy the url and paste it on browser it will return the json results but if the url is being redirected the header will have my websites as referer and the website refuses to return results

I also tried opening new tab using js but still it didn't work

<button class="savetodiskbtn" onclick="window.open('https://doodstream.com/?add_my_acc=1&op=videos_json&token=ak1b55nfbm2bbohgqu4dly30')"><i class="fa fa-upload"></i> Save To Disk</button>

If the referer is from another website The website returns As In This Image

And if the user copy the url and open The website returns json (or the website login page if user is not loggedin) As In This Image

I Just Need a js or anything that helps me to emulate the action just like a user copy url and browse it (to be used in a website)

about 4 years ago · Juan Pablo Isaza
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