On 26 Mar 2002 at 19:33, Tony Lewis wrote:

> I wrote:
> 
> > > wget is parsing the attributes within the <script> tag, i.e., <script
> > > src="url">. It does not examine the content between <script> and
> </script>.
> 
> and Ian Abbott responded:
> 
> > I think it does, actually, but that is mostly harmless.
> 
> You're right. What I meant was that it does not examine the JavaScript
> looking for URLs.

It won't examine the file downloaded via <script src="ascript.js">
(unless the HTTP response claimed it had a MIME type of "text/html"
for some reason!), but it will examine the contents between a
<script> and a </script> tag.

For example, a recursive retrieval on a page like this:

<html>
  <body>
    <script>
      <a href="foo.html">foo</a>
    </script>
  </body>
</html>

will retrieve "foo.html", regardless of the <script>...</script>
tags.

Reply via email to