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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -