Skip to content

Instantly share code, notes, and snippets.

@mir4a
Created February 4, 2016 17:15
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 mir4a/231a9d267c81e2243320 to your computer and use it in GitHub Desktop.
Save mir4a/231a9d267c81e2243320 to your computer and use it in GitHub Desktop.
Simple bookmarklet which is prints to console list of tasks was done from Freshbooks report (Time Sheets Detailed).
javascript:
var fr_pat = /#gh-(\S+): /g;
var fr_str = '';
$('.report tr').each(function(i,el) {
$td = $(el).find('.text_wrap').eq(3);fr_str += $td.text().replace(fr_pat, '- ') + '\n';
});
console.log(fr_str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment