View Single Post
Old 02-14-2025, 12:24 PM   #186
olliebean
Member
olliebean began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Quote:
Originally Posted by DNSB View Post
Not sure about Chrome but it works with the Tampermonkey extension in Firefox.

I did make a couple of changes to the script. I changed the site to amazon.ca and also to the Purchased items page and dropped the wait time to 5000 ms from 14000.

Code:
// @match        https://www.amazon.ca/hz/mycd/digital-console/contentlist/booksPurchases/*

// Wait a little before processing the next dropdown
              await new Promise(resolve => setTimeout(resolve, 5000));
Works with Violentmonkey too. I got rid of the wait time entirely (just commented out that line in the code) - there's no reason why the script needs to wait for one download to finish before starting the next one.
olliebean is offline   Reply With Quote