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

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -