I would like to know the simplest way to detect a first-run in a Firefox addon. I prefer not to use the (SQLite) Storage API as this seems way overkill for this simple usecase.
I guess my question could also be: what is the simplest way to store a flag?
Maybe a better solution would be:
There you go: http://mike.kaply.com/2011/02/02/running-add-on-code-at-first-run-and-upgrade/