Based on my small needs, I developed a timer using JavaScript. To see the program, you have to look at this page, and select "View > Source" from the menu bar of the Web browser.
The timer starts when you push the button, and it stops when the time becomes zero. You can use this timer for various purposes by rewriting the button contents and action.