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

124
Visualizações
How to get the url string detected/generated by Google Chrome when mouse cursor hovering on an HTML link?

I'm writing a Tampermonkey script on Chrome for Steam Inventory. There is a "View badge progress" button with a link on the right when clicking on most items in the inventory on the left. I can get the href value directly from the link by using the "querySelector" method. But the problem is, most of the time, the href value won't return the newest one without clicking the items on the left twice. That's very annoying. When I inspect the link of the button under the "Elements" tab in the Chrome DevTools, I found the same thing. The href value won't update unless I click the item in the inventory twice.

However, I found when the mouse cursor hovering on the button, there is a link generated by the Chrome browser that is always correct/the newest one showed up on the left-bottom corner. I'm wondering is there any way to get the link from it?

This is the screenshot: https://i.imgur.com/PsMGn1r.png

❗[EDIT] - - - - - - - - - - - - - - -

It's the personal Steam Inventory page like this one for example. This not me. :) https://steamcommunity.com/id/eroticgaben/inventory/

But it has to be the inventroy page of your own Steam account to be able to view the "View badge progress" button.

The inventory page is always like the following: https://steamcommunity.com/id/xxxxNAMExxxx/inventory/ https://steamcommunity.com/profiles/xxxxNUMBERsxxxx/inventory/

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