See? You don't even need to write any script on this page and the task button on the Desktop is updated automatically! It's cool isn't it?
Now click on the links below to see how the task button is updated in different cases! Note that I use NO scripts for the below links and pages. They are just plain HTMLs!