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
Post a Comment