Repository navigation
Fix horizontal scrolling not working after Steam website update - #2391
Conversation
|
I wonder if there's a way how to make these either be fetched dynamically, or at least sourced from server so we don't have to make new release each time they recompile. As long as the structure stays the same, and they change different parts that will cause the IDs to change, it should, in theory work. Wishlist has same issues and everything else they'll move over to react. |
|
Yeah, I was thinking about this too. Maybe the Augmented Steam backend could periodically fetch those JavaScript files from the Steam servers, extract the relevant selector IDs, and make them available through the API. Then, in the extension, there could be a fallback where, if a hardcoded selector isn't found, it tries to get the current selector from the Augmented Steam API. The extension could then save it in its cache with an expiry time and only query the API again when the cached value expires. But that's just an idea; I don't know much about this stuff, so I'm not sure whether this would be a good or safe approach. |
Fix #2223
The current gallery element IDs can be found in https://store.akamai.steamstatic.com/public/javascript/applications/store/apppage.js by searching for
StripItems,ItemandActive.These IDs appear to have been changed a week ago, on September 14th, according to the SteamTracking change history:
https://github.com/SteamTracking/SteamTracking/commits/master/store.steampowered.com/public/javascript/applications/store/apppage.js