Skip to content

Instantly share code, notes, and snippets.

@davehague
Created December 5, 2024 18:52
Show Gist options
  • Save davehague/af822b55354a2ff24a193f3dee2f9a46 to your computer and use it in GitHub Desktop.
Save davehague/af822b55354a2ff24a193f3dee2f9a46 to your computer and use it in GitHub Desktop.

Paypal cards offer partner rebates, but you have to go in an manually click them.
Use this script when you're on the offer page to click all of them, and then if you happen to purchase the item in the partner reward, you'll be alerted of a rebate via email!

Offers found at https://www.paypal.com/offers/

Here's a guide on bookmarklets if you're not familiar with how they work.

Here's the code.

javascript:(function() {document.querySelectorAll('section[data-cy="tertiary_offer_card"] button[data-ppui-info="icon-button_3.6.6"]').forEach(button => button.click());})();
  1. Log into Paypal
  2. Click "Offers"
  3. Usually at this point you'd have to click each one, then click back in the browser to click the next. Instead, just click your bookmarklet!
  4. Enjoy your passive savings!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment