Skip to content

Instantly share code, notes, and snippets.

@pauljct06
Last active May 31, 2023 00:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save pauljct06/9bb51ce3c3509d73cdc388ae40c154ad to your computer and use it in GitHub Desktop.
Save pauljct06/9bb51ce3c3509d73cdc388ae40c154ad to your computer and use it in GitHub Desktop.
Select all BankAmeriDeals
/*
This is a script to automate the BankAmeriDeals selection
BoA has the deals that you can add to your card so you get points when you make a purchase with your card after adding // that deal. I always forget to add them and then by the time I go to my account and see them there are like 30 of them. As an engineer I am not clicking through all of them one by one, therefore I created this little script that you can
run in the dev tool console
Usage:
- Login to your bank account in your browser
- go to the deals link (usually right side after clicking on your checking account
- open developer tools
- paste this script in the console and run it
*/
const deals = document.getElementsByClassName("add-deal load-available-deal");
for (const deal of deals) {
deal.click();
}
@pauljct06
Copy link
Author

This is a script to automate the BankAmeriDeals selection

BoA has the deals that you can add to your card so you get points when you make a purchase with your card after adding that deal. I always forget to add them and then by the time I go to my account and see them there are like 30 of them. As an engineer I am not clicking through all of them one by one, therefore I created this little script that you can run in the dev tool console

Usage:

  • Login to your bank account in your browser
  • go to the deals link (usually right side after clicking on your checking account
  • open developer tools
  • paste this script in the console and run it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment