Seems weird that it does not let you know what the URL was. ☆PhistucK
On Wed, Dec 16, 2009 at 04:59, Ryan <ryan.son...@gmail.com> wrote: > Is it possible to listen for what url the user removed? > > My bookmark listener is being called, but the bookmark has already > been removed, so I can not find out what url the user "un"-bookmarked. > > /* > see > http://code.google.com/chrome/extensions/bookmarks.html#event-onRemoved > */ > chrome.bookmarks.onRemoved.addListener(function(id, removal) { > chrome.bookmarks.get(id, function(results) { > var bookmark = results[0]; > alert(bookmark.url); > }); > }); > > -- > > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > To post to this group, send email to chromium-extensi...@googlegroups.com. > To unsubscribe from this group, send email to > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/chromium-extensions?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.