Ok, im kinda already doing that. I am getting other extension's
uninstall events for sure, but I dont think I am getting my
extension's uninstall event, or for some reason chrome is killing the
request I am making to my server to register the uninstall.
Could either of those possibilities be true ? also does anyone know of
a better way to debug the uninstall event. Right now I have another
extension that just prints the console when it catches one of the
events. But i havent found a way to debug my own extensions uninstall
event ?
thanks
On Nov 29, 9:38 pm, Ben <
benjo...@gmail.com> wrote:
> On Mon, 29 Nov 2010 23:17:37 -0600, FM <
fm.produkti...@gmail.com> wrote:
> > Hi I am trying to send a message to our server on an uninstall event.
>
> > I currently am using this code which is not working. The install
> > events are working correctly. And i find this scenario hard to debug
> > since the console output gets cleared and refreshed during this
> > process.
>
> > chrome.management.onUninstalled.addListener(function(id) {
>
> > if(localStorage[id] == "ourExtensionName") {
> > ... some request....
> > }
> > });
>
> > any help is appreciated, thanks
>
> See this thread[0] and, specifically, this message[1].
> (though, I'm not sure if they still apply to this case)
>
> [0]
http://groups.google.com/a/chromium.org/group/chromium-extensions/bro...
> [1]
http://groups.google.com/a/chromium.org/group/chromium-extensions/msg...
>
> --
> Ben