rem: if (doc) { 
add: if (doc.location) { 
context:   that.onDOMContentLoad = function(event) {    if (event.originalTarget.nodeName != "#document") { return; }    var doc = event.originalTarget;    function startswith(needle, haystack) {      needle   = needle.toString();      haystack = haystack.toString();      return haystack.substring(0,needle.length) == needle;    }    if (startswith('chrome://', doc.URL) ||        startswith('about:', doc.URL) ) {      return; // Ignore these URLs    }    var id = null;    that.refreshDocument(doc);    id = setInterval(function() {      if (doc) {        that.debug('document %s %o "%s"', id, doc, doc.URL);        that.refreshDocument(doc);      } else {        that.debug('document %s (cancelled)', id);        clearInterval(id);      }    }, that.getRefresh());    return;  };
meta: 4040	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4040/e9eb291a28222ca7f80d50f18421033f68792329/itsalltext.js/clean/chrome/content/itsalltext.js