Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Auto-click Steam card inventory to quick-sell
// Requires Enhanced Steam Chrome Plugin
// Clicks Nth item (after skipping unsellable coupons/gems/etc...), causing ES to pop up Quick/Instant sell buttons
// Clicks on next item after ms_til_next milliseconds
function clickQuickSell(items_to_skip, ms_til_next) {
jQuery("div.item:not(.btn_disabled) a.inventory_item_link").eq(items_to_skip).click();
setTimeout(function() {
clickQuickSell(items_to_skip, ms_til_next);
}, ms_til_next);
}
clickQuickSell(5, 4000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment