Last active
May 31, 2023 00:22
-
-
Save pauljct06/9bb51ce3c3509d73cdc388ae40c154ad to your computer and use it in GitHub Desktop.
Select all BankAmeriDeals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: