Self-update Firefox Addon programatically

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!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.