Firefox add-on sdk uninstall hook -


i keep user data in simple-storage. when user uninstalls add-on want remove user data. there event or similar?

this work in every file:

require("sdk/system/unload").when(function(reason) {   if (reason == "uninstall") {     // uninstall stuff..   } }); 

Comments

Popular posts from this blog

Regex find and replace between <div class="customclass"> and </div> tag -

jpa - Passing entitymanager from reflection method -