This userscript displays measured or estimated watts per kilogram (:zap:/:crown:) for activity segment leaderboards (e.g. https://www.strava.com/activities/643122549/segments/15718362409). To respect Strava, it works only on…
- Top 10 plus the currently authenticated user
- Segments longer than three minutes
- Segments not flagged as downhill
- ECMAScript 2015-compatible browser
- Interwebs
- Watts
- 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