Last active
February 6, 2024 10:50
-
-
Save RingoRohe/e15709c199cd388435567fadafa913a2 to your computer and use it in GitHub Desktop.
Want to remove all your Tours from Komoot.de? Go to the Page with your Tourlist, open Developer Console, paste this Code and wait.
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 func = () => { | |
let tour = document.querySelector('li[data-tour-id] [data-test-id="t_actions_delete"]'); | |
if (tour) { | |
tour.click(); | |
window.setTimeout(() => { | |
document.querySelector('button[data-test-id=t_actions_delete_confirm]').click(); | |
window.setTimeout(() => { | |
func(); | |
}, 300); | |
}, 300); | |
} | |
}; | |
func(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment