Skip to content

Instantly share code, notes, and snippets.

@Jonathan-Mckenzie
Last active July 15, 2024 15:37
Show Gist options
  • Save Jonathan-Mckenzie/5d9a585f9d9a22ad115d14fa60a019e7 to your computer and use it in GitHub Desktop.
Save Jonathan-Mckenzie/5d9a585f9d9a22ad115d14fa60a019e7 to your computer and use it in GitHub Desktop.
Give everyone in your strava feed a kudos

Give kudos to every event in your feed

  1. Navigate to the main feed page of Strava in a web browser:
    https://www.strava.com/dashboard?num_entries=100
  2. Replace the "100" in the above URL with whatever number of activities you wish to give kudos to
  3. Open Developer Tools in your web browser and navigate to the console
  4. Paste the script below into the console and press enter:
setInterval(() => {
    document.querySelectorAll('button[title="Give kudos"]').forEach(node => {
        node.click();
    });
    window.scrollBy(0,1024); 
},2000);
  1. Every activity in view should be given Kudos.

Future Enhancements

  • Script that automatically fetches your activity feed and gives kudos
@JeromeSchmied
Copy link

also include not yet kudod activities, show number of kudod:

setInterval(() => {
    document.querySelectorAll('button:where([title="Be the first to give kudos!"], [title="Give kudos"])').forEach((node, i) => {
        console.log(i);
        node.click();
    });
    window.scrollBy(0,1024); 
}, 2000);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment