rem: var prefs = Components.classes["@mozilla.org/preferences;1"]; if (prefs) { prefs = prefs.getService(); if (prefs) prefs = prefs.QueryInterface(Components.interfaces.nsIPref); } if (prefs) { var url = prefs.CopyCharPref("browser.chromeURL"); if (url) return url; } 
add: var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); var url = prefs.getCharPref("browser.chromeURL"); if (url) return url; 
context: function getBrowserURL() {  try {    var prefs = Components.classes["@mozilla.org/preferences;1"];    if (prefs) {      prefs = prefs.getService();      if (prefs)        prefs = prefs.QueryInterface(Components.interfaces.nsIPref);    }    if (prefs) {      var url = prefs.CopyCharPref("browser.chromeURL");      if (url)        return url;    }  } catch(e) {  }  return "chrome://navigator/content/navigator.xul";}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/faf03ce445712b372523f881cc3144cfadc7a611/utilityOverlay.js/clean/xpfe/communicator/resources/content/utilityOverlay.js