Skip to content

Instantly share code, notes, and snippets.

@neil1023
Last active April 26, 2024 14:17
Show Gist options
  • Save neil1023/89c7c13042a672e8222ac3846d377d1f to your computer and use it in GitHub Desktop.
Save neil1023/89c7c13042a672e8222ac3846d377d1f to your computer and use it in GitHub Desktop.
BJs Coupon Clipper
// This script can be run in the browser console
// Just navigate to https://www.bjs.com/myCoupons and execute the script
// This script will clip all the coupons on the current page
//
// Created on 10/13/22
let buttons = document.getElementsByClassName('mt-2 btn gray-btn');
for (let i = 0; i < buttons.length; i++) {
buttons[i].click();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment