Skip to content

Instantly share code, notes, and snippets.

@philroche
Last active July 13, 2016 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philroche/2f70f324549aadbcc786cabf5969e80b to your computer and use it in GitHub Desktop.
Save philroche/2f70f324549aadbcc786cabf5969e80b to your computer and use it in GitHub Desktop.
javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery injected')};document.head.appendChild(e);})(document.createElement('script'),'//code.jquery.com/jquery-latest.min.js');
jQuery('.workoutTable tbody tr td').text(function(){ if(jQuery.isNumeric(jQuery(this).text())) { return Math.round(parseFloat(jQuery(this).text()) * 0.453592) + 'kg'; } else {return jQuery(this).text()}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment