Displays measured or estimated watts per kilogram (⚡️/👑) for activity segment leaderboards
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
wkomforstrava.png
wkomforstrava.user.js

README.md

W/kom for Strava

W/Kom for Strava screenshot

Functionality

This userscript displays measured or estimated watts per kilogram (⚡️/👑) for activity segment leaderboards (e.g. https://www.strava.com/activities/643122549/segments/15718362409). To respect Strava, it works only on…

Requirements

  • ECMAScript 2015-compatible browser
  • Interwebs
  • Watts

Caveats (TODO)

  • Not triggered by a listener — requires manual invocation of wkomForStrava()
  • Uses individual GETs for wattage rather than '/leaderboard?raw=true' 😔
  • Logs an error for all 11 GETs if the segment is flagged as downhill
  • Displays results as they are fetched rather than all at once
  • Works only on activity pages