Skip to content

Instantly share code, notes, and snippets.

@jberkman
Created June 7, 2012 20:40
Show Gist options
  • Save jberkman/2891423 to your computer and use it in GitHub Desktop.
Save jberkman/2891423 to your computer and use it in GitHub Desktop.
javascript:window.document.location = 'http://raceshape.com/strava-segments/' + (jQuery('a.goto.only').attr('href') || document.location.toString()).split('/').pop() + '?rides=' + jQuery('#results a').map(function () { m = this.href.match(/.*segment_efforts\/(.*)/); return m && m[1]; }).get().slice(0,10).join('-');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment