TL;DR
We have worked out a way to solve this problem in the meantime. Roblox removed hypertext references for game tiles.
Working Patches
Chrome extension:
Tampermonkey script:
- Install tampermonkey: https://www.tampermonkey.net/
- Add the script written by @Brinker7: https://devforum.roblox.com/t/-/1261234/21
Context
There used to be a hyper text reference located under <a class="game-card-link">
, which would link to a game. Roblox recently seems to have created their own system for routing to game places in such a way that they do not make use of a hypertext reference.
That is to say, I’m not so sure that this is a bug, since if it was then the hypertext reference would have just been lost without any other way for us to reach games by clicking on them.
That being said, it makes no sense why Roblox would even consider replacing the previous functionality, as it is extremely user-unfriendly. I mean, just look at how many people are already finding this extraordinarily annoying (including me!)
A possible work-around
Edit: See above for working work-around.
If Roblox is unwilling to return games to its original functionality, it is important to note that both <a class="game-card-link">
and <li class="list-item game-card game-tile">
contain id="UNIVERSE_ID"
.
The universe id (not to be confused with a place id) can then be used to get the root place id by sending a request to https://games.roblox.com/v1/games?universeIds=UNIVERSE_ID
. This returns unparsed JSON in string format, and you can get the starter place id by doing result.data[0].rootPlaceId
, where result
is parsed JSON.
Original post
<li class="list-item game-card game-tile">
no longer contains an href="URL"
in any of its descendants. Specifically, <a class="game-card-link">
no longer contains a hypertext reference.
This seems to be intended rather than a bug, since something else is now routing you to place links, and <a class="game-card-link">
now contains id="UNIVERSE_ID"
instead of href="URL"
.
Duplicating any game tile on the DOM does not allow you to open said place, and simply creates a broken tile.
This is annoying since numerous people always open things in new tabs. (including me). If roblox does not add this feature back, I might end up making a chrome extension to add the href back to the <a class="game-card-link">
tile.
Edits
edit 1: id refers to universe id, not place id, this has been changed in the above. You can use https://games.roblox.com/v1/games?universeIds=UNIVERSE_ID
to get the root place id from the universe id (this is JSON).
edit 2: A friend of mine who still happened to have this feature on their browser verified that id="UNIVERSE_ID"
was present along with the href in <a class="game-card-link">
. Still seems to be a feature, though, as it still routes to games without the href.
edit 3: Re-wrote this post to make it more understandable/readable.
edit 4: Fixed javascript code block to use js syntax highlighting instead of default lua highlighting
edit 5: Added two workaround links, and a TL;DR
edit 6: Merged two duplicate headers into 1 single header. Shortened TL;DR to not include installation, moved working patches (previously working work-arounds) right below TL;DR.
edit 7: Extension approved, added chrome webstore link
edit 8: Removed js code block