Skip to content

Instantly share code, notes, and snippets.

@brupm
Created May 23, 2022 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brupm/577e56e7e97f6b0fafabede86c7d5d8e to your computer and use it in GitHub Desktop.
Save brupm/577e56e7e97f6b0fafabede86c7d5d8e to your computer and use it in GitHub Desktop.
Add all Amex credit card offers to you account with this Bookmarklet
javascript:btns=[...document.querySelectorAll('.offer-cta')].filter(b => b.textContent === 'Add to Card');c=()=>{ b = btns.pop(); if (!b) return console.log('added all!'); b.click(); setTimeout(c, Math.random() * 1500 + 300) };c();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment