Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get html full source ??
#1
After page loading complete, html source
What's the obvious way to get it?
I have referenced the sources already listed, but there is some confusion.
get html source
I would appreciate it if you could tell me how to optimize again.

Currently I
document.documentElement.innerHTML
I'm getting it through a JavaScript call.
But I think you already have the source loaded.
This is because they think that asking again will cost them time.
HeartThankyou.
Reply
#2
Hi,

All methods for getting the html source use javascript.
There's also RequestCurrentHtml in the Document interface.
See the FillForm example on how-to use the Document interface.

But note that it also uses javascript under the hood.. so not sure how much you'll gain with that.
Running this via javascript does not need to retrieve the source from the server again. It is already loaded in the browser and the javascript that you inject is run within the loaded page.

--
Wil
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)