Created
April 11, 2013 20:03
-
-
Save lgladdy/5366719 to your computer and use it in GitHub Desktop.
Comixology Add All Marvel #1 Free Comics Bookmarklet
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
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();}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.