Skip to content

Instantly share code, notes, and snippets.

@adamchenwei
Forked from peckjon/ClearDroplist.js
Created January 26, 2024 20:41
Show Gist options
  • Save adamchenwei/bd86bf2608d3c9b62eecdb92c08b2a5c to your computer and use it in GitHub Desktop.
Save adamchenwei/bd86bf2608d3c9b62eecdb92c08b2a5c 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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment