Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!