[Project_owners] First time after installing Extension
brian at mozdev.org
Fri Dec 22 02:57:21 PST 2006
On 22/12/2006 11:21 (CET), Amin wrote:
> installing extesion ,
> what i must add to install.rdf ?
Have a default preference, say "extensions.myapp.firstrun", and set it
Check it every time at startup. If true, execute the code, and if false
do not. Once your code is executed, you can set it to false yourself to
ensure the code is not run on subsequent startup.
www.mozdev.org - free project hosting for the Mozilla community
More information about the Project_owners