a simple JavaScript snippet to add Steam games to your Wishlist using the official Steam Store API.
(even those that can't be added, for example - steam news)
This script sends a POST request to Steam’s wishlist API, mimicking the exact behavior of the “Add to Wishlist” button.
It requires that you are logged into Steam in the same browser session.
-
log into Steam in your browser.
-
open Developer Tools → Console (F12 or Ctrl+Shift+I).
-
paste the script with the desired appid.
-
the game will be added to your wishlist.
-
this script does not exploit or bypass Steam systems.
-
the same behavior can be replicated via the browser’s dev tools — this just saves time.
-
you are fully responsible for how you use it.
⭐ if you find this useful, give it a star to support the project!