Use dotjs to track website usage
dotjs is pretty cool. It's a chrome extension that will execute javascript when you visit a site. You can use it for all kinds of crazy things, one of which would be to track how often you visit time-wasting sites.
- Install dotjs (instructions here)
- For each site you deem to be a time-waster, create a file in the `.js` directory in your home directory. For Hacker News, create `news.ycombinator.com.js` and put the following in it:
$.ajax({url: "http://api.stathat.com/ez?email=you@example.com&stat=time+waster+visited&count=1"});
- Repeat for any other sites.
- Check out your stat on StatHat.