Hello dev team,

maybe someone here has time to answer me a short question? Thank you in advance!

For a planned project, I would like to know whether it is possible to convert 
DOM back to HTML with
Gecko (or maybe some other tool that you know). Before doing this conversion, 
all JavaScript code
should be removed, but AFTER the DOM was modified by any scripts.

The goal is to generate a static HTML "preview" file of the site that does not 
contain any
JavaScript, but may be rendered in a browser as if all originally embedded 
JavaScript had been
executed. In other words: I would like to "take a picture" of the rendered, 
possibly dynamic, HTML
site, and convert this "picture" back to static HTML without any scripting 
elements. Then, even if
the complete site content is created by JavaScript, a browser that does not 
support JavaScript may
view it by reading the "converted" HTML.

Does this seem to be possible? If not practically, at least in theory, in with 
how much estimated
development work?

Thank you very much for your help,

Rolf Wendolsky

-- 
Rolf Wendolsky

Phone:     +49.911 2001 8914
Fax:       +49.941.604889 64
Mobile:    +49.175.1636283
eMail:     mailto:[email protected]
PGP/GPG:   0x953CC668 
(https://anonymous-proxy-servers.net/downloads/gpg/wendolsky.asc)
Skype:     jondonym
Jabber:    [email protected]/Home
Web:       http://www.jondos.com

JonDos GmbH
Firmensitz: Bruderwöhrdstraße 15b, 93055 Regensburg
Registergericht: Amtsgericht Regensburg, HRB 10532
Umsatzsteuer-Identifikationsnummer: DE814839010
Geschäftsführer: Rolf Wendolsky, Thomas Dumler
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to