Skip to content

Instantly share code, notes, and snippets.

@lgladdy
Created April 11, 2013 20:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgladdy/5366719 to your computer and use it in GitHub Desktop.
Save lgladdy/5366719 to your computer and use it in GitHub Desktop.
Comixology Add All Marvel #1 Free Comics Bookmarklet
javascript:(function(){function%20clickAllNextButtons(){jQuery('a').each(function(){if($(this).html()==%22Next%22){cmd=$(this).attr('href').substr(12);eval(cmd);}});}function%20addAllVisible(){var%20changed=0;jQuery('a.addComicLink.normalBtn').each(function(){if($(this).html()==%22Add%20Comic%22){changed++;$(this).click();}});return%20changed;}var%20run=0;addAllVisible();clickAllNextButtons();while(addAllVisible()%3E%200){clickAllNextButtons();}})();
@lgladdy
Copy link
Author

lgladdy commented Apr 11, 2013

Once you've been invited to the promo, just visit the link in your email, then copy and paste the massively long javascript: command above into your address bar. You might well need Chrome or Safari for it to work properly, but it should within a few seconds add all 723 comics to your cart, without the need for ~800 clicks.

@schizoid21
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment