Created
October 27, 2017 17:08
-
-
Save yitsushi/a564f9d4b64b15d1e3a84b41b52118f5 to your computer and use it in GitHub Desktop.
steam bulk wishlist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Select them | |
jQuery('.wishlistRow').on('click', function() { jQuery(this).toggleClass('wanttoremove'); }); | |
# Finish | |
jQuery('.wanttoremove').each(function() { | |
var id = this.getAttribute('id').split('_')[1]; | |
jQuery.post( | |
'/id/yitsushi/wishlist/', | |
{ | |
appid: id, | |
action: 'remove', | |
sessionid: g_sessionID | |
} | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment