Skip to content

Instantly share code, notes, and snippets.

@thefloodshark
Created March 14, 2024 22:01
Show Gist options
  • Save thefloodshark/0e5e4d640e307bbdaeb08e8749d6880a to your computer and use it in GitHub Desktop.
Save thefloodshark/0e5e4d640e307bbdaeb08e8749d6880a to your computer and use it in GitHub Desktop.
PayPal Offer Auto-Accepter
// https://www.paypal.com/shopping/
// for use in console, Tampermonkey, etc.
// Select all elements with specified class
var buttons = document.querySelectorAll('.shopping-view-ujbh5m-icon-button_base-secondary');
// Click each button
buttons.forEach(function(button) {
button.click();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment