Rank: Newbie Groups: Member
Joined: 12/16/2013 Posts: 5
|
Hi,
When I load a URL containing the following HTML and view source then I see output of document.write as "hello world" right after the script. I mean,
INPUT
<html> <body> <script> document.write("hello world"); </script> </body> </html>
OUTPUT
<html><head></head><body> <script> document.write("hello world"); </script>hello world
</body></html>
This is not expected since Chrome displays only source HTML.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
I believe this feature is by design. What it does is essentially the same as the "Copy HTML" feature in Chrome's HTML inspector. Since EO.WebBrowser did not implement extensive debug features like Chrome does, we felt it probably be more helpful to get the "current HTML" instead of the "initial HTML". Nevertheless, we understand that this is somewhat different than the traditional notion of "page source", so we will look into it to see if we can add the "initial page source" feature.
Thanks!
|