rem: var svc = Components.classes["component: svc = svc.QueryInterface(Components.interfaces.nsIBookmarksService); svc.AddBookmark(url, title); 
add: var bmks = Components.classes["component: bmks = bmks.QueryInterface(Components.interfaces.nsIBookmarksService); bmks.AddBookmark(url, title); 
context:   function BrowserAddBookmark(url,title)  {    var svc = Components.classes["component://netscape/browser/bookmarks-service"].getService();    svc = svc.QueryInterface(Components.interfaces.nsIBookmarksService);    svc.AddBookmark(url, title);  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2e824c3f146cf4f984579f9385e04f877007268f/navigator.js/buggy/xpfe/browser/src/navigator.js