Sometimes you can’t wait for Firefox’s built in update mechanism to update you addons. Say you want to let your addon check for a new version on every startup of Firefox and then trigger the installtion of the new version. This can be done with a short Snippet:
This code surely could use some error handling and such, so feel free to throw your enhancements at me!