MC wrote on 16 jun 2008 in comp.lang.javascript:
[please do not quote signatures on usenet]
This is not an illogical slavery. The library is GREAT.
Wow, GREAT if you say so! I do not believe so.
That just means you are a willing slave to that greatness.
I wouldn't think everybody, as you did not ask or hear evrybody.
Are you a man or woman of superlatives?
hung up on why I want to do this and not the how.
DOES ANYONE KNOW HOW???
You cannot do this and you should not want to do this.
Wanting to do what is impossible is nice, but not productive.
The why, is I want to construct an archival image of the view a user
sees in a client browser.
1 html does only approximately show how different browsers, different
sizes
and different OS'es show a window.
2 html is available on the server and can be directly taken from the
server
by xmlhttp.
3 html does not show the changes made to the DOM on the browser.
[I wrote all these arguments before in this thread]
This library can be used to construct an
encrypted page view image while maintaining inner data and it is
easily renderable while encrypted by most browsers.
Impossible, if you mean "image" like most of us do.
What is "inner data", html being html?
What is "renderable" in the sense of a browser, a browser does not render
html, as html is the source as far as the browser is concerned?
What browser "encripts" the html?
Or do you mean parsing the html source to the DOM?
The archival image
will be used as a legal construct to document what a user saw in the
browser and may be used in court.
You must have a very naive judge to believe such.
Web sites do not come from a single
server so reconstructing what the server serves is inappropriate as
the client view may get content from dozens of servers to build a
single client view.
Could be true, but that is immaterial, only using clientside in-browser
javascript scripting.
You would need to conserve a screenview or a windowview, quite possible
with a seperate programme, but not just with browser scripting.
And even so, such view can be easily manipulated, so would not do for
juridical proof.
========================================
Remember you asked:
"How do I get HTML sent to server?"
[Which server, btw, since now you stipulate several servers?]
And not:
"How do I send a screenview to the server ?"
And I showed "sending html to a server" to be inappropriate for conserving
the view the user has seen on his or her screem.