Last active
March 8, 2025 00:02
-
-
Save dwaxe/46e4a843b9c87f0bc47eb6abc855e696 to your computer and use it in GitHub Desktop.
Automatically activate credit card cash back offers
This file contains hidden or 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
// Bank of America: https://secure.bankofamerica.com/customer-service/deals/ | |
document.querySelectorAll('div.deal-logo').forEach(e => e.click()) | |
// Chase: https://secure07a.chase.com/web/auth/dashboard#/dashboard/offers/merchantFundedOffers/requestAvailableMerchantOffers | |
const sleep = (milliseconds) => new Promise(resolve => setTimeout(resolve, milliseconds)) | |
flyoutClose = document.querySelector('a#flyoutClose') | |
addOffer = document.querySelector('a.sixersoffers__cta') | |
while (addOffer.text === "Add to card") { | |
addOffer.click() | |
await sleep(3000) | |
flyoutClose.click() | |
await sleep(3000) | |
addOffer = document.querySelector('a.sixersoffers__cta') | |
} | |
// Discover: https://card.discover.com/cardmembersvcs/promotions/app/5percent | |
// American Express: ? |
Can you set one up for Wells Fargo Deals too?
Edit - made it for Wells Fargo Deals: https://gist.github.com/BrandenBedoya/d923400d286ef4f9b5471a4f41457a1f
Worked beautifully. Thank you.
Nice thank you :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for a working one, see https://gist.github.com/smaharj1/6d96b368f93c1951ed301cffe87c783e