rem: var formsArray = window._content.document.forms; if (!formsArray) { capture.setAttribute("disabled", "true"); return; } var form; for (form=0; form<formsArray.length; form++) { var elementsArray = formsArray[form].elements; var element; for (element=0; element<elementsArray.length; element++) { var type = elementsArray[element].type; var value = elementsArray[element].value; if ((type=="" || type=="text") && value!="") { 
add:   var formsArray; var framesArray = window._content.frames; if (framesArray.length != 0) { var frame; for (frame=0; frame<framesArray.length; frame++) { formsArray = framesArray[frame].document.forms; if (okToCapture2(formsArray)) { 
context: function okToCapture() {  var capture = document.getElementById("menu_capture");  if (!capture) {    return;  }  if (!window._content || !window._content.document) {    capture.setAttribute("disabled", "true");    return;  }  var formsArray = window._content.document.forms;  if (!formsArray) {    capture.setAttribute("disabled", "true");    return;  }  var form;  for (form=0; form<formsArray.length; form++) {    var elementsArray = formsArray[form].elements;    var element;    for (element=0; element<elementsArray.length; element++) {      var type = elementsArray[element].type;      var value = elementsArray[element].value;      if ((type=="" || type=="text") && value!="") {        capture.setAttribute("disabled", "false");        return;      }     }  }  capture.setAttribute("disabled", "true");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/486de2ed10a80e377efd9ebb7e5a36d0349f315e/utilityOverlay.js/buggy/xpfe/communicator/resources/content/utilityOverlay.js