Skip to content

Instantly share code, notes, and snippets.

View ianmcilwraith's full-sized avatar

Ian McIlwraith ianmcilwraith

View GitHub Profile
@ianmcilwraith
ianmcilwraith / poshmark-share
Last active April 6, 2024 06:59 — forked from SeanMcGrath/poshmark-share
JS code to share all items in a poshmark closet to followers and all available events
// Share your poshmark closet on a loop.
// only likely to work in modern browers, Chrome preferred but works in Safari.
// Paste this into the console or make a javascript bookmarklet
// This fork is designed to work on large closets with 40+ items
const clickDelta = 2000; // ms delay between clicks
const cycleDelta = clickDelta * 100; // ms delay between share cycles
const clickLinks = (el) => {
el.click();