Manifesto

is an HTML5 Offline Application Cache verification bookmarklet

Screenshot of manifesto

Manifesto provides a quick and easy way to make sure your HTML5 manifest file is valid and working on your page.

One of the hardest parts of the Offline Application Cache is that when it doesn't work, it fails silently and you may not even realize it. This bookmarklet provides a simple way to make sure your page is using the manifest, and if it's not, it tries to help you diagnose the problem.

Manifesto identifies files that can't be accessed, manifest file syntax errors, duplicate listings, and warns about common pain points.

Sound helpful?

Install the Bookmarklet

Manifesto☚ Drag this to your bookmarks bar.

Since you're already on your mobile device, follow these instructions. If that sounds too complicated, read the paragraph after the instructions.

  1. Copy all of this code to the clipboard:
  2. Tap the "+" icon in the menu bar and choose "Add Bookmark"
  3. Change the first field to something useful like "Manifesto bookmarklet"
  4. Tap the "Save" button
  5. Tap the book icon to bring up your bookmarks. Navigate to the bookmark folder where you saved the bookmark
  6. Tap the "Edit" button and tap the "Manifesto" bookmark you just created
  7. Tap the second field, the one that says http://manifesto.ericdelabar.com/, and press the 'x' icon to clear it
  8. Paste the code copied in step 1 into the box.
  9. Tap the button in the upper left to take you back and tap "done"
  10. Navigate to the offline-enabled page of your choice and tap the "Manifesto" bookmarklet to launch.

Alternately, open this page in Safari on your desktop, install the bookmarklet, and use either MobileMe bookmarklet syncing or iTunes to sync the bookmarklet to your iOS device.

Try it Out

Contribute

Manifesto is Open Source and released under the GNU General Public License v3. Clone Manifesto on Google Code if you're interested in contributing.

Enjoy!

Sorry, Manifesto requires a browser with HTML5 Application Cache support.

The HTML5 Application Cache works in the latest version of Chrome, Safari, Firefox, and Opera. Normally I'd make this page work for other browsers, but since this is a development tool, frankly, there's no point.

Manifesto is Open Source and released under the GNU General Public License v3. Clone Manifesto on Google Code if you're interested in contributing.

JS String .replace

Sorry, your browser doesn't support bookmarklets.

Last I checked the version of Mobile Safari on Android phones did not support javascript:-type bookmarks, otherwise known as bookmarklets. If you know otherwise, or have a work-around please file a bug on the Google Code issues page letting me know how. Thanks!

Manifesto is Open Source and released under the GNU General Public License v3. Clone Manifesto on Google Code if you're interested in contributing.

JS Array .shift