Hey, all. I'm trying to add Skyrim: Legendary Edition to my wishlist in case I win during the sale. I can't seem to get the Javascript to return anything other than "undefined" when I press Enter.

For those who aren't aware:
http://www.steamgifts.com/forum/pdjvi/how-to-add-a-removed-game-from-steam-to-wishlist

Apparently I should be able to edit the Javascript for Skyrim:
javascript:AddToWishlist( 72850, 'add_to_wishlist_area', 'add_to_wishlist_area_success', 'add_to_wishlist_area_fail', '1_5_9__407' );

And plug in the Legendary Edition app id:
javascript:AddToWishlist( 28187, 'add_to_wishlist_area', 'add_to_wishlist_area_success', 'add_to_wishlist_area_fail', '1_5_9__407' );

I've used Javascript in the URL bar in the past to add custom amounts of money to my Wallet, but even trying to add regular Skyrim using URL bar or Dragonfly returns "undefined" in the console. Any advice, or is this not going to be possible? Thanks for reading.

Edit, nevermind, I found the problem. Since the Legendary Edition doesn't have an app ID it's listed as a sub category of the main game and the reason it was undefined is because Steam basically returned "what the hell are you doing" as a response

10 years ago

Comment has been collapsed.

Closed 10 years ago by DropTheDodongo.