Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

186
Visualizações
Copy Text from one browser window to another programmatically

I have this two browser windows, which are opened for each order on an apparel list with about 18K orders. I have to manually copy the values from the first window and paste them on the corresponding inputs in the second window. This has to be repeated for every single order.

I was thinking about making a small tool which allows to identify both windows, copy the needed values and paste them on the second window. Is this possible with Javascript & HTML, or maybe C#?

Example

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

Technically, this cannot be achieved via JavaScript. You can use some automation tools like AutoIt e.g.

Some Keyboards are also supporting Marco functions. You can record a Macro and copy every record if the entire process is repeatable.

about 4 years ago · Juan Pablo Isaza Relatório

0

I think, this could be achieved with a chrome extension.

In general, the chrome extension needs to do the following

  • query all the input fields on the left window and store its values in a JS object.
  • use Window.postMessage() API or something similar to send the JS object to the other window where you listen to the message and receive the content (Tricky part is to define who is sender and who is receiver).
  • Then you set the value of the input fields to the values of the received js object.
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda