rem: var element; element = document.getElementById("wallet"); element.setAttribute("style","display: none;" ); element.setAttribute("disabled","true" ); element = document.getElementById("walleteditor"); element.setAttribute("style","display: none;" ); element.setAttribute("disabled","true" ); element = document.getElementById("walletSamples"); element.setAttribute("style","display: none;" ); element.setAttribute("disabled","true" ); 
add: HideWallet(); 
context: function CheckForWallet(){  // remove wallet functions (unless overruled by the "wallet.enabled" pref)  try {    if (!this.pref.GetBoolPref("wallet.enabled")) {      var element;      element = document.getElementById("wallet");      element.setAttribute("style","display: none;" );      element.setAttribute("disabled","true" );      element = document.getElementById("walleteditor");      element.setAttribute("style","display: none;" );      element.setAttribute("disabled","true" );      element = document.getElementById("walletSamples");      element.setAttribute("style","display: none;" );      element.setAttribute("disabled","true" );    }  } catch(e) {    dump("wallet.enabled pref is missing from all.js");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d3a721cb15a6fd1eb979b73646163c3ae1108092/tasksOverlay.js/buggy/xpfe/global/resources/content/tasksOverlay.js