rem: element.setAttribute("style","display: inline;" ); 
add: element.setAttribute("hidden","false" ); 
context: function Startup(){  // xpconnect to cookieviewer interface  cookieviewer = Components.classes["@mozilla.org/cookieviewer/cookieviewer-world;1"].createInstance();  cookieviewer = cookieviewer.QueryInterface(Components.interfaces.nsICookieViewer);  // intialise string bundle for  bundle = srGetStrBundle(JS_STRINGS_FILE);  // install imageblocker tab if instructed to do so by the "imageblocker.enabled" pref  try {    var pref;    pref = Components.classes['@mozilla.org/preferences;1'];    pref = pref.getService();    pref = pref.QueryInterface(Components.interfaces.nsIPref);    try {      if (pref.GetBoolPref("imageblocker.enabled")) {        var element;        element = document.getElementById("imagesTab");        element.setAttribute("style","display: inline;" );        element = document.getElementById("images");        element.setAttribute("style","display: inline;" );      }    } catch(e) {    }    try {      var tab = window.arguments[0];      var element2 = document.getElementById("tabcontrol");      if (tab == "0") {        element = document.getElementById("cookiesTab");        element2.selectedTab = element;        element = document.getElementById("panel");        element.setAttribute("index","0" );      } else {        element = document.getElementById("cookieviewer");        element.setAttribute("title", bundle.GetStringFromName("imageTitle"));        element = document.getElementById("imagesTab");        element2.selectedTab = element;        element = document.getElementById("panel");        element.setAttribute("index","2" );      }    } catch(e) {    }  } catch (ex) {    dump("failed to get prefs service!\n");    pref = null;  }  loadCookies();  loadPermissions();  loadImages();  doSetOKCancel(onOK, null);  window.sizeToContent();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4ac856f9884e64aa0c425345b3f61ee61c431b8b/CookieViewer.js/clean/extensions/wallet/cookieviewer/CookieViewer.js