Skip to content

Instantly share code, notes, and snippets.

@DoggettCK
Created April 3, 2018 15:32
Show Gist options
  • Save DoggettCK/93e104a67cbcf8c72b94b8adf681f7f6 to your computer and use it in GitHub Desktop.
Save DoggettCK/93e104a67cbcf8c72b94b8adf681f7f6 to your computer and use it in GitHub Desktop.
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