Save DOM in offline web archive(mht format) using ie6

245 views Asked by At

I need to save the DOM in a offline web archive(mht format) using ie6. I need to make offline updates to the web archive and then save them back to the disk. However the "save as..." functionality is not including the DOM updates, is there a way to do this? Or perhaps a workaround?

Cheers, Sam

1

There are 1 answers

0
Paul Sweatte On

Use saveSnapshot and choose "Web Page, HTML Only" rather than "Web Archive":

<style>
  .snapshot_alpha {behavior:url(#default#savesnapshot);}
</style>
<!--...-->
<input class="snapshot_alpha" type="text" id="persist_alpha">