Building an offline app with firefox 3
Soon after offline support became available in Firefox 3 pre-alpha versions, Mozilla developer Mark Finkle put together a neat little example for developers. It’s a to-do list tool that uses script to embed the user’s entries into the application cache version of the main service Web page. It also saves the to-do list on the server side. That way, the page is available and the user’s data is maintained whether the user is online or offline. With Mark’s permission, I updated his example for this article. Listing 1 (todo.html) is the main HTML file for the application