Created
April 8, 2022 03:44
-
-
Save mlindgren/f7ec518b8bc064dbab1e797925b81120 to your computer and use it in GitHub Desktop.
One-liner to change the type of all activities shown on the page in Garmin Connect
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
// Change all activity types on the page to eBiking | |
jQuery('.js-changeActivityType').each(async function(){ if(jQuery(this).text() == "eBiking"){ jQuery(this).click(); console.log("Clicked"); await sleep(100); } } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment