From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe21:29:69:252:207:34; helo=resqmta-ch2-02v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8F90E77D9F for ; Tue, 30 Jan 2018 07:41:38 -0800 (PST) Received: from resomta-ch2-12v.sys.comcast.net ([69.252.207.108]) by resqmta-ch2-02v.sys.comcast.net with ESMTP id gY1ZeKPw1ve36gY2pe7i9D; Tue, 30 Jan 2018 15:41:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1517326919; bh=G5F+QxYnTU5rYsD/wTN0/7UKD9AzdFodNkyeB+++tUM=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=Pyn3ldMxcqg144uzUJ7/3Qv2O6einKXy2BlqLxJp6Eu+Yth/Qq3HtShpnqTVGHZw+ YR808v17y35kUF/JRxBOwJi2hoGO12NpUOmxO878unmKQAApJNVyIGs1rJG3abFKDj Ws00SH9zux70EgCMVJ2WOCEJQWEmDbvMOCnw9A79yoHvIoBHwlpdbQeQvOHZbvU3k6 7gB7d3Al8S9198k4Uti5Uv486d/uS6oEZmGRK4UkhXtwz+1ikm2goRQdi7BiLpcHDc 7STiJ0RNE1GsQWiqWeLq1BWOIlUa44XY+djEM3jIlzXE9pbUi1J6eCYcuOsvdtpYFz YfLC606A5FrKw== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-12v.sys.comcast.net with SMTP id gY2oeoP6ThyxRgY2oe2CvO; Tue, 30 Jan 2018 15:41:58 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.7.1 Date: Tue, 30 Jan 2018 10:41:58 -0500 Message-ID: <20180030104158.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-881112 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfNVahTl9ca6RxKyGebZzqCSc/tPOQLiHNScM5GO5ff7sY/1ZdItWn5whVTfNBHoYsBaXIV/7WAJDzha98+IF1UZewdViqodWD93QFLt2dw86NlnQ+0+u SiH26ZPBxNF+Bp2if1tjsC/xx7brSFsEyDBmQ3v5Q5QwBPDbgozhdbXu Subject: [Edbrowse-dev] showscripts() X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 15:41:38 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-881112 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The showscripts command, for debugging, only shows the scripts produced = by html. This is a problem as more and more scripts are created dynamically. Pass in 1, or true, showscripts(1), to see all scripts under document. These are gathered by getElementsByTagName("script"); The resulting list is left in document.scripts2, so if you want to know more about script 4, access document.scripts2[4]. You can see the difference on most sites, example nasa; the second list = is longer than the first, and indexes need not correspond. Karl Dahlke --nextpart-eb-881112--