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

119
Vistas
Open URL In New Tab and Set Input Value

I am working on a website at my job and we have run into an issue with our API vendors documentation being very much out of date and their support not being super helpful answering questions.

I was wondering if it is at all possible to open a URL in a new tab and then populate an input field in the code in the new tab.

The issue is the URL is not a site I have access to the code, which I am sure makes this impossible, but was curious if there way a way to at least try.

I have read about postMessage and Broadcast Channels but they both seem to need access to both code bases which I do not have.

What I have so far

So far my code is bound to a click event as such

    var newTab = window.open('URL', '_blank');
    var searchField = newTab.document;
    console.log(searchField);

I am trying to pass a data-value to an input on the page that opens in the new tab, but I do not have access to the code base for that site.

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