rem: this.pref = Components.classes["component: 
add: this.pref = Components.classes["@mozilla.org/preferences;1"].getService(); 
context: function PREF_onload(){  // set ok/cancel handlers  doSetOKCancel( this.onok, null );  // create pref object  try {    this.pref = Components.classes["component://netscape/preferences"].getService();    if(this.pref)      this.pref = this.pref.QueryInterface( Components.interfaces.nsIPref );  }  catch(e) {    dump("*** Failed to create prefs object\n");    return;  }  // this.wsm.PageData.splice(0);    // brutally empty the PageData Array  if( window.queuedTag )    this.onpageload( window.queuedTag );  // enable image blocker if "imageblocker.enabled" pref is true  try {    if (this.pref.GetBoolPref("imageblocker.enabled")) {      element = document.getElementById("cookiesCell");      valueWithImages = element.getAttribute("valueWithImages");      element.setAttribute("value",valueWithImages);    }  } catch(e) {    dump("imageblocker.enabled pref is missing from all.js");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/pref.js/buggy/xpfe/components/prefwindow/resources/content/pref.js