rem:  try { var bmks = getService( "component: var shortcutURL = bmks.FindShortcut(document.getElementById('urlbar').value); dump("FindShortcut: in='" + document.getElementById('urlbar').value + "'  out='" + shortcutURL + "'\n"); if ( shortcutURL ) document.getElementById('urlbar').value = shortcutURL; 
add:  try { var bmks = Components.classes["component: bmks = bmks.QueryInterface(Components.interfaces.nsIBookmarksService);  var shortcutURL = bmks.FindShortcut(document.getElementById('urlbar').value);  dump("FindShortcut: in='" + document.getElementById('urlbar').value + "'  out='" + shortcutURL + "'\n");  if ((shortcutURL != null) && (shortcutURL != "")) { document.getElementById('urlbar').value = shortcutURL; } } catch (ex) {  }  appCore.loadUrl(document.getElementById('urlbar').value);  
context: function BrowserLoadURL(){  if (appCore == null)    return;  // rjc: added support for URL shortcuts (3/30/1999)  try {    var bmks = getService( "component://netscape/browser/bookmarks-service", "nsIBookmarksService" );    var shortcutURL = bmks.FindShortcut(document.getElementById('urlbar').value);    dump("FindShortcut: in='" + document.getElementById('urlbar').value + "'  out='" + shortcutURL + "'\n");    if ( shortcutURL )      document.getElementById('urlbar').value = shortcutURL;  }  catch (ex) {    // stifle any exceptions so we're sure to load the URL.  }  appCore.loadUrl( document.getElementById('urlbar').value );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1e1ba37fe43340db5f075581a53c8d4d6987ce7f/navigator.js/clean/suite/browser/navigator.js