Last active
September 24, 2016 17:05
-
-
Save greencoder/462836c389e1f47e84887a6bbdb67eaa to your computer and use it in GitHub Desktop.
Clear Amazon Echo Shopping List with jQuery
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
// Visit: http://alexa.amazon.com/spa/index.html#lists/shopping | |
// Check all the items | |
jQuery('.itemcheckbox').each(function(index) { | |
jQuery(this).click(); | |
}); | |
// Make sure the above step completes before you do the next | |
// Click the "View completed" tab | |
jQuery('.filter-completed').click(); | |
// Click the "Delete All" link | |
jQuery('.delete-all').click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment