rem: var url = getWebNavigation().currentURI.spec 
add: var url = content.document.documentURI; 
context: function HandleBookmarkIcon(iconURL, addFlag){  var url = getWebNavigation().currentURI.spec  if (url) {    // update URL with new icon reference    if (!gBookmarksService)      gBookmarksService = Components.classes["@mozilla.org/browser/bookmarks-service;1"]                                    .getService(Components.interfaces.nsIBookmarksService);    if (addFlag)    gBookmarksService.updateBookmarkIcon(url, iconURL);    else            gBookmarksService.removeBookmarkIcon(url, iconURL);  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eb1abbcedc784f1a87a88f4394dad4fb27870735/navigator.js/clean/suite/browser/navigator.js