Skip to content

Instantly share code, notes, and snippets.

@peckjon
Last active January 26, 2024 20:41
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save peckjon/83eb1b96911553c2fdae45dbb543170c to your computer and use it in GitHub Desktop.
Save peckjon/83eb1b96911553c2fdae45dbb543170c to your computer and use it in GitHub Desktop.
Clear Honey Droplist
// paste into browser console at https://www.joinhoney.com/droplist to remove ALL Droplisted items
var script = document.createElement('script');
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(script);
setTimeout(() => {
$('img[alt="Remove this item from your Droplist"]').each(function(){this.click()});
$('button[aria-label="Remove item"]').each(function(){this.click()});
$('div[id="HoneyDropList:index-moreButton"]').click();
}, 2000);
@sonnybarwick
Copy link

I can't figure out how to use the information you've posted. I'm not at all versed in such things. I would like for you to have given some directions for a novice at such things. I acknowledge that your information may be beyond the scope of a novice, regardless of the abilities and intelligence of the novice and regardless of any directions that you might have posted.

I'll add a quick note in reference to the subject. I spoke with Honey today via chat; on 7/12/22. They are working on adding a "Delete All" feature to Droplist functions and it should be available soon.

@peckjon
Copy link
Author

peckjon commented Jul 13, 2022

Good to know that they’ll be adding this functionality @sonnybarwick !

As to running this script, it does require a small bit of developer-y knowledge, but in brief:

  1. Open Chrome and navigate to https://www.joinhoney.com/droplist
  2. Open the developer console in Chrome, as described here: https://developer.chrome.com/docs/devtools/open/
  3. Paste the contents of the above Gist into the Console, and press Enter

no guarantees it’ll work, I’m afraid… I stopped using Droplist a year ago so I haven’t kept this up-to-date

@sonnybarwick
Copy link

sonnybarwick commented Jul 15, 2022 via email

@dictsonary
Copy link

This doesn't seem to be working for me. When I run this in the console, it returns a seemingly random number769, 788, 789 but the list doesn't clear.

@peckjon
Copy link
Author

peckjon commented Jul 15, 2022

@dictsonary @sonnybarwick looks like Honey changed their page layout. I've adjusted the code and hopefully it should work now.

@dictsonary
Copy link

Awesome, thanks! It worked this time.

@dictsonary @sonnybarwick looks like Honey changed their page layout. I've adjusted the code and hopefully it should work now.

@hunj
Copy link

hunj commented Jul 3, 2023

Thanks for this!

@sonnybarwick: I spoke with Honey today via chat; on 7/12/22. They are working on adding a "Delete All" feature to Droplist functions and it should be available soon.

A year later, they have yet to add this functionality.

@804michael
Copy link

I just tried this and it looks like it cleared my droplist and then when I refresh my droplist still has items in it. I've run the script several times and items keep showing up after refresh

@adi518
Copy link

adi518 commented Oct 20, 2023

I just tried this and it looks like it cleared my droplist and then when I refresh my droplist still has items in it. I've run the script several times and items keep showing up after refresh

That's because they automatically add items when they scan your wishlist, at least in major sites like Amazon. I find it quite annoying. Users should have full control over whether the extension should do that or not.

@adamchenwei
Copy link

THIS IS GENIUES !!!! LOVE IT! used it, worked perfectly XD

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