javascript - Detect installation of firefox extension -


i developing firefox extension , need open new tab when user install add-on.

i found solution in here opening page in firefox after installing addon using preferences. work problem after removing extension , installing again still need have new tab , it's not working preference because found no solution delete it.

there extensions stumbleupon same thing .

so question :

        there way detect installation of add-on? 

thanks

why don't use preference value show new install tab @ first run, change preference false, , if uninstall it, instead of trying delete it, set true again. way if re install you'll show again.

see reference install , uninstall scripts


Comments

Popular posts from this blog

html - Cut text on left side inside button while centering -

java - Last square of 8x8 grid not drawn, using two nested FOR loops -

What design pattern is this code in Javascript? -