On Mon, 12 Jun 2000 09:40:31 +0200 (CEST), [EMAIL PROTECTED] (Richard Menedetter) 
wrote:

> Hi

> "Samuel W. Heywood" <[EMAIL PROTECTED]> wrote:

>>> -- Have you checked the source (using F4) af all these pages? I'd be
>>> fairly certain that all the ones Arachne successfully deals with
>>> have commented-out scripting.

> SH> Yes, I have checked the source and have never seen an example of JS
> SH> having been commented out.
> But it should be !!!

> SH> If it were commented out, then it would be ignored even by
> SH> Java-capable browsers.
> no ... the script tag is not commented out ... all unknown tags are ignored
> .... and if the script tag is followed by a comment than JavaScript
> compliant browsers know, that this was done to hide the script from non
> compliant browsers.

OK, this seems to make some sense.  How would I recognize a comment line
designed to accomplish what you have described?

> PS: Sam, you again mixed up Java with JavaScript :)

What is the difference?  Is the following sentence a proper analogy?

"Java Script is to Java as a Basic Program is to a Basic Interpreter."

So when a Java-capable browser encounters Java Script it just automagically
runs some kind of interpreter built into the browser?

And what is a Java Applet?  Is it like a compiled EXE, but with the
difference being that it runs a program from a browser program instead of
from the command line?

Question:  Can a Java Applet be run by loading cached files into the
browser while offline?

> SH> By "commented out" this is what I mean:
> not here

> SH> <!---- begin commenting out --------

> SH> <SCRIPT LANGUAGE="JavaScript">
> but here

> SH> blah blah blah
> SH> blah blah blah blah
> SH> blah blah
> here
> SH> </SCRIPT>

> SH> ---- end commenting out --------->
> not here, but above

Whether I put it as I have shown above, or whether I put it as you have
indicated, the result is the same with Arachne.  The script is ignored.

What I interpret from what you have said is that a Java-capable browser
will run the script provided the script is commented out in the manner
that you have indicated.  If this were the case, then why don't web page
designers comment out the script as they should?  Don't they know any
better?  Don't they know that many people like to disable the Java
capability provided with their dozeware?

> What I don't understand is, why can't arachne ignore everything between
> script tags ??

Sam Heywood
-- This mail sent by Arachne, www graphical browser for DOS

Reply via email to