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

237
Visualizações
What are the javascript events that can trigger an action on an input field?

I am building up a plugin that needs to perform a search on linkedin main search bar, using jquery & js.

When using it normally, you would have to click on it, which expands a search box, and press enter to search for the value your entered:

enter image description here

However, for some reason, I am unable to trigger the click on the search input. I tried with click, mousein, mouseenter, focusin events, using jquery, but it does not trigger any action. I also try to simulate a click, but no luck.

I went further and tried the same actions on the parent divs with class "global-nav-typeahead", "search-global-typeahead" and "global-nav__search" but no luck.

you can see the structure here:

enter image description here

Therefore my question is, is there any other js event I am missing that could cause the search box to open? I'm not sure which event is this search box listening to in order to appear.

What other events could be triggered? Is it possible linkedin has some kind of protection about programmatic events? and if yes, how to go around it?

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