Jump to content

Recommended Posts

Posted (edited)

Hi

 

In the past I needed to get a Web page's Source HTML, but not as it came from the server,

but as it is now in the browser, after it might have been manipulated abit.

To do it, I used

$oIE.document.documentElement.outerHTML

 

I now need to get the web page's source, but this time not as it is now in the browser,

but as it came from the server, originally, without any change that might have been performed on it by the browser scripts/etc.

 

How can I do it without re-downloading the page(via InetRead() or so), but from the $oIE object itself?

 

Thank you

Edited by Zohar
Posted (edited)

Hi TheDcoder

If you look at the source in IE.au3,

you will see that _IEDocReadHTML($oIE) is returning $oIE.document.documentElement.outerHTML :)

 

It's identical,

so I need something else..

Edited by Zohar
Posted

@Zohar Oh :o, Well, you can check IE's COM documentation and get the appropriate parameters to extract the full HTML code :)

 

TD :)

P.S I am not The Doctor! D stands for Damon which is my name :P

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted

@Zohar Oh :o, Well, you can check IE's COM documentation and get the appropriate parameters to extract the full HTML code :)

I know.Sometimes I find there things easily,but sometimes t's not easy, so I turn here to consult with others.

I hope someone who knows will see this thread.

 

P.S I am not The Doctor! D stands for Damon which is my name

:P

Oops,

Sorry, I fixed the previous post :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...