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.
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to