Skip to content

Instantly share code, notes, and snippets.

@denilsonsa
Last active June 18, 2024 21:30
Show Gist options
  • Save denilsonsa/c18dd78cba66832720176728f33f0c01 to your computer and use it in GitHub Desktop.
Save denilsonsa/c18dd78cba66832720176728f33f0c01 to your computer and use it in GitHub Desktop.
Steam Community modals as links

Steam Community modals as links

Converts pseudo-links from Steam Community into real anchor tags. Advantages:

  • No JavaScript needed for opening Steam Community items. They are now plain links.
  • We can open them as a full page, instead of being constrained to the clunky modal dialog.
  • We can open them as a new tabs or as a new windows.
  • We can right-click to copy the link to each item.
  • We can click-and-drag the link.
  • We can open many items as background tabs (by middle-clicking on them) and let them load in the background, instead of forcing us to wait for them to load.

Frankly, they should have been links in the first place.

This is also available at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment