Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !function(){!function(e,o){const t=`${e}.fit`;fetch(`/apiserver/v1/workout/exportFit/${e}${o}`,{method:"GET",cache:"no-cache",headers:{STTAuthorization:window.localStorage.sessionkey}}).then(e=>e.blob()).then(e=>URL.createObjectURL(e)).then(e=>{window.document.body.innerHTML=`<h2><a href="${e}" download="${t}">Download FIT</a></h2>`})}(window.location.pathname.split("/").filter(Boolean).pop(),"?autogeneraterecords=true&generatefillerlaps=true&removesinglelocation=true")}();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement