Skip to content

Instantly share code, notes, and snippets.

@deosamox
deosamox / deleteAmazonSavedItems-2024.js
Last active March 27, 2024 00:08 — forked from MichaelLawton/deleteAmazonSavedItems.js
Updated 2024. English: Removes all Amazon saved for later items on the cart page. It will only remove visible items. You might want to scroll first to make more items visible. To use paste code in developer console (Ctrl+Shift+J or Cmd+Opt+J in Chrome) then press enter. Español: Elimina todos los elementos guardados para más tarde de Amazon en l…
function deleteSavedItems() {
var elements = document.querySelectorAll("input[name^='submit.delete.']");
if (elements.length > 0) {
elements.forEach(function(element) {
element.click();
});
setTimeout(deleteSavedItems, 100);
} else {
console.log('Finished');