Created
March 7, 2021 18:13
-
-
Save ro6/fcf7a1eb49f7036a9c49207f8914306e to your computer and use it in GitHub Desktop.
Selects "Refund to original payment method" for all Amazon returns on the page
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
Array.from(document.querySelectorAll('b')) | |
.filter(elem => elem.innerText.includes('original')) | |
.forEach(elem => elem.click()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment