Archive

Posts Tagged ‘greasemonkey’

Greasemonkeying Around

November 26th, 2008

UPDATE 2: ok, this greasemonkey script is now outdated.. please use the firefox plugin instead. it has it's own url here. Everything below this point is just history now :)


I have recently started using sparkpeople to track my diet and exercise (we'll see how long that lasts). It's a nice site for the most part, but there are a few features I'd like to see… so instead of just begging for them through official channels, I've started to create them on my own.



The nutrition tracking page shows you your target calories, carbs, fat and protein and the number you have used for the day, but it doesn't show how many you have left of each.



Greasemonkey is a firefox add-on that allows you to install scripts that can interact with web pages as you surf them. You can use this to add additional functionality to web sites you use regularly or combine functionality from multiple websites together.



I have created a greasemonkey script that adds a “remaining” stat to the nutrition page, it looks like this:





If you have the greasemonkey add-on installed, you can click here and install the script. It should do its thing any time you are on your nutrition page.



UPDATE: I am just going to update this post as I add things to this script… I have now added some summary stuff in the side bar, it looks like this:


admin , , , ,