> document.scripts2 is a superset > that includes all of document.scripts and more, correct?
I think so. In theory javascript could delete a script object that was originally there from html, though not sure why it would ever want to do that. Are you saying showscripts() should just act this way all the time, regardless of argument? I'm ok with that, it's just for developers, not end users, so we don't have to have a big pow-wow about it, if you think so then I'll make the change. And I might put the list of scripts in $ss, or just anything that's easier to type than document.scripts2. You're really following the industry trend. At the dawn of javascript we had all these arrays in document, scripts for the <script>, paragraphs for the <p>, anchors for the <a>, and you could spin down the array and see them all, then js started building pages dynamically, and those arrays only capture the html objects, so they became almost useless, and now code uses getElementsByTagName to gather a runtime array of all the scripts or anchors or whatever that are present in the document, and that's what the second incarnation of showscripts() does, so we're just following what others are doing. Someday all those arrays under document may be deprecated. Karl Dahlke
_______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
