Last active
August 25, 2024 16:36
-
-
Save santisbon/a4e9bc639911a2d60176b71e1661bc82 to your computer and use it in GitHub Desktop.
Add all Chase Offers to your card with one click.
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
// Reference: https://www.reddit.com/r/ChaseSapphire/comments/18pb8w5/auto_add_all_offers_to_chase_card/ | |
// You can show/hide the Favorites Bar with shift-command-B. | |
// Add a bookmark to your Favorites Bar with this as the address: | |
javascript:a=()=>{window.history.back(); setTimeout(c, Math.random() * 1000 + 300);}; c=()=> { btns=[...document.querySelectorAll('.r9jbij9')].filter(b => b.childNodes[1].childNodes[0].type !== 'ico_checkmark_filled'); b = btns.pop(); if (!b) return console.log('added all!'); b.childNodes[0].click(); setTimeout(a, Math.random() * 1000 + 300); }; c(); | |
// Now go to your Chase Offers page and click on the bookmark. |
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
// Pretty-printed version for review | |
javascript: | |
a = () => { | |
window.history.back(); | |
setTimeout(c, Math.random() * 1000 + 300); | |
}; | |
c = () => { | |
btns=[...document.querySelectorAll('.r9jbij9')].filter(b => b.childNodes[1].childNodes[0].type !== 'ico_checkmark_filled'); | |
b = btns.pop(); | |
if (!b) | |
return console.log('added all!'); | |
b.childNodes[0].click(); | |
setTimeout(a, Math.random() * 1000 + 300); | |
}; | |
c(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment