Matt
Matt

Reputation: 1570

Client-side modified HTML/CSS/JS

I'm currently using var bodyHTML = document.body.innerHTML; to get the HTML of the body of the webpage. If I edit or modify some information in the HTML in the "Inspect Element" panel on Chrome, I would like to make copies of this HTML. Furthermore, this question really extends to HTML/CSS/JS. I want to gain this data through code, not through right clicks and copying the data, as I want to eventually make new files based on this modified HTML/CSS/JS.

Is it possible to gain access to this browser-modified HTML/CSS/JS?

Upvotes: 1

Views: 542

Answers (1)

Julien C.
Julien C.

Reputation: 966

So you want to save your live modifications (I'm not sure I really understood)? for that you can use the chrome auto save extension, you have instructions here too, but it's may be outdated, so have a look at the README ;)

Upvotes: 1

Related Questions