Skip to content

Instantly share code, notes, and snippets.

Avatar

Robert Marshall rbtmarshall

View GitHub Profile
@MichaelLawton
MichaelLawton / deleteAmazonSavedItems.js
Last active Nov 26, 2021
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.
View deleteAmazonSavedItems.js
function deleteSavedItems() {
var query = document.querySelectorAll("#sc-saved-cart input[value=Delete]")
if (query.length) {
query[0].click();
}
if (query.length > 1) {
setTimeout(deleteSavedItems,100);
}
else {
console.log('Finished');
@mdo
mdo / 00-intro.md
Last active Nov 27, 2021
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.
View 00-intro.md

Ikea Bekant standing desk with Gerton table top