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
//Recursively remove "unidentified developer warning" so you don't need to manually allow it in system prefs | |
xattr -r -d com.apple.quarantine $1 |
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
let buttons = Array.from(document.getElementsByClassName('btn offer-cta btn-secondary btn-sm btn-fluid')); | |
let offerButtons = buttons.filter(button => button.title == "Add to Card"); | |
offerButtons.forEach(button => { | |
console.log("Clicked on Add to Card") | |
button.click() | |
}); |