I want to modify through the dom various element properties and then save that page as an html file. View source doesn’t always reflect dom adjustments. Is there a way to write the whole page to a file or otherwise get the updated source page into a file?
Share
I’m thinking this should do the trick for ya.
JavaScript can’t write files when being ran from a browser (security). But you can send this to a PHP script and write it to a file from there. For example:
write.php