Slickdeals is community-supported.  We may get paid by brands for deals, including promoted items.
Forum Thread
Amazon Discounts, Deals and Coupon Codes

Bulk Move or Cancel All Amazon S&S items

84 30 May 28, 2024 at 11:31 AM Get Amazon coupons
Like many of you, I take advantage of the Amazon S&S discounts for various products to save money... But I don't really want the item at full price the next subscription interval.


Javascript Bookmarklet to move every single subscribe and save item to 6 months in the future
This is super simple and very useful for myself.
  1. Visit this URL: https://www.amazon.com/auto-deliv...ret_active
  2. Press Bulk Edit Schedule At the top
  3. Click on the bookmarket that you created (steps below)
Seconds later all of your items are now moved 6 months into the future

How to create the bookmarklet (CHROME)
  1. Right click on your bookmark bar and press "add page..."
  2. Name the bookmark whatever you'd like (I called it S&S Mover')
  3. Paste the following code into the URL bar (then press save)
Code:
javascript:(function(){let clickMoreSubscriptions=()=>{let e=document.querySelector('.a-section.subscription-pagination-trigger-container span[data-action="bulk-edit-pagination-action"] > .subscription-pagination-trigger');if(!e||e.parentElement.classList.contains('aok-hidden')){console.log('No more subscriptions to show or button is hidden.'),selects=[...document.querySelectorAll('select[name="changeNextDeliveryDate"]')],console.log(`Found ${selects.length} select elements.`),processNextSelect();return}e.click(),console.log('Clicked "Show more subscriptions" button.'),clickMoreSubscriptions.counter===undefined?clickMoreSubscriptions.counter=1:clickMoreSubscriptions.counter++,clickMoreSubscriptions.counter<=50?setTimeout(clickMoreSubscriptions,1e3):console.log(%27Stopped after 50 clicks.%27)};let selects=undefined;let processNextSelect=()=>{if(0===selects.length)return console.log(%27All select boxes processed!%27);let e=selects.shift(),t=e.options,n=t[t.length-1],s=e.value;if(s===n.value)return console.log(%27already set, skipping subscription%27),void setTimeout(processNextSelect,100);console.log(%27Changing select element:%27,e),console.log(`Current value: ${s}, New value: ${n.value}`),e.value=n.value;let o=new Event(%27change%27,{bubbles:!0});e.dispatchEvent(o);let r=e.closest(%27form%27).querySelector(%27.a-button-input%27);r&&r.click(),setTimeout(processNextSelect,100)};clickMoreSubscriptions()})();
Mass Cancel script:

Code:
javascript:(function(){let baseUrl="https://www.amazon.com/auto-deliveries/ajax/cancelSubscriptionAction?actionType=cancelSubscription&canceledNextDeliveryDate=1730880000000&subscriptionId=";let spans=document.querySelectorAll(%27span[data-action="edit-link-subscription-tablet"]%27);let subscriptionIds=[...spans].map(span=>{let data=span.getAttribute(%27data-edit-link-subscription-tablet%27);let match=data.match(/subscriptionId=([^&"]+)/);return match?match[1]:null;}).filter(id=>id);console.log(`Found ${subscriptionIds.length} subscription IDs.`);function openNextUrl(index){if(index>=subscriptionIds.length){console.log(%27All URLs have been opened.%27);return;}let id=subscriptionIds[index];let url=baseUrl+id;console.log(`Opening URL: ${url}`);let newWindow=window.open(url,%27_blank%27);setTimeout(()=>{openNextUrl(index+1);},1000);}openNextUrl(0);})();
What does this script do?
  1. Auto expands the page so all your items show up ("Show more subscriptions" )
  2. Finds all the items on the page that have a drop down date, and selects the last option (6 months away)
  3. Auto-Clicks the "Apply" button for you
I tested this on my amazon account using chrome, if it doesn't work for you let me know and I can try my best to assist. Enjoy Smilie
About the OP
Joined Sep 2021 L2: Beginner
30 Reputation Points
0 Deals Posted
10 Votes Submitted
84 Comments Posted
Don't have Amazon Prime? Students can get a free 6-Month Amazon Prime trial with free 2-day shipping, unlimited video streaming & more. If you're not a student, there's also a free 1-Month Amazon Prime trial available. You can also earn cash back rewards on Amazon and Whole Foods purchases with the Amazon Prime Visa credit card. Read our review to see if it’s the right card for you.

Your comment cannot be blank.

Sign up for a Slickdeals account to remove this ad.

Joined Dec 2005
My # is bigger than yours
> bubble2 37,133 Posts
6,485 Reputation
SnakePlisken
05-28-2024 at 01:18 PM.
05-28-2024 at 01:18 PM.
Can you set up a JavaScript that does a mass cancel on useless threads in SD?
Reply
Joined Sep 2021
L2: Beginner
> bubble2 84 Posts
30 Reputation
Original Poster
SlimJimDanton1
05-28-2024 at 01:20 PM.
05-28-2024 at 01:20 PM.
Quote from SnakePlisken :
Can you set up a JavaScript that does a mass cancel on useless threads in SD?
Probably, but won't Wink
Reply
Joined Dec 2004
L10: Grand Master
> bubble2 70,217 Posts
5,359 Reputation
Schooby
05-29-2024 at 07:14 AM.
05-29-2024 at 07:14 AM.
Thanks OP.. this really will come in handy when I am ready to get rid of all S&Ss. I have often wondered if there was a way to do just that Wink
Reply
Joined Aug 2005
Baldilocks
> bubble2 41,123 Posts
2,080 Reputation
emelvee
05-29-2024 at 10:14 AM.
05-29-2024 at 10:14 AM.
Quote from SnakePlisken :
Can you set up a JavaScript that does a mass cancel on useless threads in SD?
There goes my post count Sadwalk
Reply
Joined Dec 2005
My # is bigger than yours
> bubble2 37,133 Posts
6,485 Reputation
SnakePlisken
05-29-2024 at 11:41 AM.
05-29-2024 at 11:41 AM.
Quote from emelvee :
There goes my post count Sadwalk
You're safe, it doesn't delete them. He just invented a time machine, so you'll get them all back 6 months in the future.
Reply
Joined Sep 2005
serving cakes since 2005
> bubble2 6,747 Posts
1,651 Reputation
Pro
procope
05-30-2024 at 08:05 AM.
05-30-2024 at 08:05 AM.
This script is for lazy. You always need to manually set the subscription date to 6 months at the time of ordering. When the next monthly S&S order reaches the mandatory 5 items (they are listed first on the monthly S&S page) cancel all the remaining few one by one.

By using the script, you just move all the stuff ordered in the past to the back of the line. Once you forget to use the script (getting sick, being busy, traveling, etc.) you'll be hit with a mountain of unexpected, unneeded, and expensive crap.
There was a thread not so long ago by an unlucky fella who couldn't cancel S&S when his account was frozen by Amazon...
Reply
Joined Nov 2006
L10: Grand Master
> bubble2 8,265 Posts
2,449 Reputation
LC2
05-30-2024 at 05:12 PM.
05-30-2024 at 05:12 PM.
How much stuff are you ordering that you need a script to cancel?
Reply

Sign up for a Slickdeals account to remove this ad.

Joined Sep 2005
deal seeking cheapskate
> bubble2 59,615 Posts
9,734 Reputation
sampsonti
05-30-2024 at 06:26 PM.
05-30-2024 at 06:26 PM.
Cancel….
Reply
Page 1 of 1
Start the Conversation
 
Link Copied

The link has been copied to the clipboard.