Skip to content

Instantly share code, notes, and snippets.

@perifer
Created December 3, 2010 16:19
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 perifer/727165 to your computer and use it in GitHub Desktop.
Save perifer/727165 to your computer and use it in GitHub Desktop.
Bookmarklet to show todays reported time in Basecamp
<html>
<body>
Change the userID below and then drag the link to your bookmarks bar.
<a href="javascript:
var userID=3030954;
var domain='https://goodold.basecamphq.com';
var t=new Date();
var m=t.getMonth()+1;
var y=t.getFullYear();
var d=t.getDate();
location.href=domain+'/time_entries/report?subject_id='+userID+'&from[month]='+m+'&from[day]='+d+'&from[year]='+y+'&to[month]='+m+'&to[day]='+d+'&to[year]='+y+'&commit=Create report';">Todays reported time</a>
<body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment