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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en.