Skip to content

Instantly share code, notes, and snippets.

@RingoRohe
Last active February 6, 2024 10:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RingoRohe/e15709c199cd388435567fadafa913a2 to your computer and use it in GitHub Desktop.
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.
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