Hi all,
I've a HTML page (self-authored!) which has a lot of embedded
Javascript.
View-source in any major browser I've tried (Konqueror, Opera,
Mozilla, IE) shows the source code as retrieved from the HTTP server.
Which is what you'd expect.
Is it possible to view the source as generated by the Javascript, in
the context of the page as a whole? So instead of seeing:
<html>
<body>
<script>documen t.write("Hello World!");</script>
</body>
</html>
I'd like to see:
<html>
<body>
Hello World!
</body>
</html>
Obviously, this is a contrived example. The Javascript in question
uses conditional statements, and variables, so it's not merely a
simple matter of reading the document.write( ) calls.
Many thanks,
Paul.
I've a HTML page (self-authored!) which has a lot of embedded
Javascript.
View-source in any major browser I've tried (Konqueror, Opera,
Mozilla, IE) shows the source code as retrieved from the HTTP server.
Which is what you'd expect.
Is it possible to view the source as generated by the Javascript, in
the context of the page as a whole? So instead of seeing:
<html>
<body>
<script>documen t.write("Hello World!");</script>
</body>
</html>
I'd like to see:
<html>
<body>
Hello World!
</body>
</html>
Obviously, this is a contrived example. The Javascript in question
uses conditional statements, and variables, so it's not merely a
simple matter of reading the document.write( ) calls.
Many thanks,
Paul.
Comment