[elinks-users] dump html after javascript eval?
Suraj N. Kurapati
snk at gna.org
Sun Feb 24 00:32:12 MST 2008
Hello,
Is it possible to make elinks dump the HTML for a web page (from
elinks' internal DOM representation of the web page) *after* it
evaluates all embedded JavaScript inside the original HTML?
For instance:
[orig HTML + embedded JS] => elinks DOM => [pure HTML]
This is pretty much like the dumping preformatted text feature,
except we dump the pure HTML from elinks' internal DOM
representation of the web page.
I am asking this question because I have a bunch of HTML files that
were purposely obfuscated (using JavaScript) by its creator. The
HTML files contain embedded JavaScript which dynamically populates
(using document.write()) the otherwise empty HTML page.
I would like to effectively eval() the embedded JavaScript in-place
and obtain the pure HTML.
Thanks for your consideration.
More information about the elinks-users
mailing list