Created
December 3, 2010 16:19
-
-
Save perifer/727165 to your computer and use it in GitHub Desktop.
Bookmarklet to show todays reported time in Basecamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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