New feature: convert Steam Community modals to plain links #1924
denilsonsa
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thanks for the suggestion! Sounds like an ok feature to add with an option. We can probably patch the handler in modalContent.js instead of using a mutation observer 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When viewing Steam Community items, each "card" is a
<div>
with some JavaScript to open it as an in-page modal dialog. The UX isn't very good, as it is essentially reinventing an hyperlink but with fewer features.So, I'm proposing AugmentedSteam to include a feature to convert them into plain HTML
<a href="…">
links. And, even better, I'm providing you with the code to achieve that, as I've implemented it myself as a user-script:Feel free to use that code and include it into the extension.
The
debouncedMutationObserver
is something I wrote for another user-js, and I shamelessly and blindly reused. Feel free to get rid of it and just add the main code (about a dozen lines) into Augmented Steam's own Mutation Observer (assuming there is already one).Beta Was this translation helpful? Give feedback.
All reactions