Skip to content

Instantly share code, notes, and snippets.

@khal3d

khal3d/runtastic.js

Created Nov 20, 2013
Embed
What would you like to do?
Download all your Runtastic activities - Go to "My Activities" and than run this code in you browser console
var links = [];
$('.download a:contains(TCX)').each ( function () {
links.push($(this).attr('href'))
} );
links.forEach(function(link) {
// console.log(link);
var newFrame = document.createElement('iframe');
document.body.appendChild(newFrame);
newFrame.style = 'width: 1px; height: 1px;';
newFrame.src = link;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.