rem: var searchBar = document.getElementsByTagName("searchbar"); for (var i=0; i<searchBar.length;i++) { 
add: var searchBar = BrowserSearch.getSearchBar(); if (searchBar) { 
context:   toggleFormFill: function ()  {    try {      gFormFillEnabled = gPrefService.getBoolPref(this.domain);    }    catch (e) {    }    var formController = Components.classes["@mozilla.org/satchel/form-fill-controller;1"].getService(Components.interfaces.nsIAutoCompleteInput);    formController.disableAutoComplete = !gFormFillEnabled;    var searchBar = document.getElementsByTagName("searchbar");    for (var i=0; i<searchBar.length;i++) {      if (gFormFillEnabled)        searchBar[i].removeAttribute("disableautocomplete");      else        searchBar[i].setAttribute("disableautocomplete", "true");    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/06f9a8a0e5ab3d4d89787904d3596c41fa168750/browser.js/clean/browser/base/content/browser.js