add: if (user == "") { /* no username passed in, parse if out of url */ var uri = Components.classes["component: .createInstance(Components.interfaces.nsIURI); uri.spec = site; user = uri.username; } 
context: function LoadSignons(){  signonList = signonviewer.GetSignonValue();  if (signonList.length == 1) {    /* user supplied invalid database key */    window.close();    return false;  }  var delim = signonList[0];  signonList = signonList.split(delim);  for(var i = 1; i < signonList.length; i++)  {    var currSignon = TrimString(signonList[i]);    // TEMP HACK until morse fixes signon viewer functions    currSignon = RemoveHTMLFormatting(currSignon);    var site = currSignon.substring(0,currSignon.lastIndexOf(":"));    var user = currSignon.substring(currSignon.lastIndexOf(":")+1,currSignon.length);    AddItem("savesignonlist",[site,user],"signon_",i-1);  }  if (deleted_signons_count >= signonList.length) {    document.getElementById("removeAllSignons").setAttribute("disabled","true");  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/671e43887779609c90cc6c5f1b1ed2988993379b/SignonViewer.js/buggy/extensions/wallet/signonviewer/SignonViewer.js