Skip to content

Instantly share code, notes, and snippets.

@LUEshi42
LUEshi42 / add_to_cart.user.js
Last active Feb 26, 2021 — forked from beporter/add_to_cart.user.js
Greasemonkey script to repeatedly refresh a given page, look for specific "Add to Cart" buttons, click them if present, and make a lot of noise on success.
View add_to_cart.user.js
// ==UserScript==
// @name Add Saved Items to Cart
// @namespace https://gist.github.com/beporter/ce76204bcba35d9edb66b395bb5e9305
// @version 0.5
// @description Repeatedly refresh a given "saved items" page (Amazon, Walmart, BestBuy), look for specific "Add to Cart" buttons, click them if present, and make a lot of noise on success.
// @author https://github.com/beporter
// @match https://www.amazon.ca/gp/registry/wishlist/*
// @match https://www.amazon.ca/hz/wishlist/ls/*
// @match https://www.bestbuy.ca/cart
// @match https://www.bestbuy.ca/site/customer/lists/manage/saveditems