rem: var url = getWebNavigation().currentURI.spec; 
add:    var url = _content.location.href; 
context: function UpdateInternetSearchResults(event){  var url = getWebNavigation().currentURI.spec;  if (url) {    try {      var search = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"]                             .getService(Components.interfaces.nsIInternetSearchService);      var searchInProgressFlag = search.FindInternetSearchResults(url);      if (searchInProgressFlag) {        var autoOpenSearchPanel = pref.GetBoolPref("browser.search.opensidebarsearchpanel");        if (autoOpenSearchPanel)          RevealSearchPanel();      }    } catch (ex) {    }  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/2495df44e8d213fbbd2a358ff9af5e998498fc25/navigator.js/clean/suite/browser/navigator.js