Adds steam links to Humble Bundle games (https://greasyfork.org/en/scripts/26273-steam-store-game-owned-checker COMPATIBLE!) - Updated to work with lock icons, and to check shortened variants of names
< Feedback on Humble Bundle - Steam Links Adder
hey!
u may like my updated version of the script which adds a button to trigger the link adding. U can check it out in my other post.
cheers
High CPU usage
Two related issues here, stemmed from me noticing that with the script running https://www.humblebundle.com/store?hmb_source=navbar caused excessive CPU usage (visible - page stuttering and unresponsive - a mean feat for an i7 7700K), presumably from many game 'cards' on the store home page matching your selectors. I don't know if it running on other pages is intentional, but I edited your @include to
*://www.humblebundle.com/store/*
so that it only runs on game pages.Seeing as I already had Chrome's Task Manager open and I was testing the script still working, I noticed that when a tab is focused where the script has been executed (e.g. https://www.humblebundle.com/store/into-the-breach) the CPU usage of the tab is still ~50% of one CPU thread. Without the script enabled, fully loaded pages use ~0-3% of one CPU thread.
Is it executing on a loop in the background?