Created
May 2, 2022 10:15
-
-
Save dolohow/68060c9c95935a452d89e569ec5c5a0a to your computer and use it in GitHub Desktop.
Remove all garmin courses
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
document.querySelectorAll('.icon-trash').forEach((r, i) => { | |
setTimeout(() => { | |
r.click(); | |
document.querySelector('.btn-primary').click(); | |
}, i * 2000) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment