You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course it looks like it works fine, because MozArchiver cuts off any included JavaScript while saving. Just look in the source code of your re-saved testcase.mht. Whole text in the textarea is just a plain text, not a script-generated.
I made my testcase.mht by hand, but it perfectly reproduce the issue you will encounter if you will open a .mht generated by UnMHT, IE or Opera with Presto engine.
That said, I'm not entirely sure why this is. Other than not depending on potentially-online components I guess (i.e. something that depends on a server response).
I don't know is it an issue of Pale Moon or MozArchiver, but it worked fine with old Firefox and UnMHT.
The event window.onload does not fire. A simple example from MDN (https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event#Live_example) give me this if I execute it in a .mht file (testcase.mht in the attachment)
It should be like this (testcase.html in the attachment):
So, many .mht files that rely on some JavaScript are broken.
Tested with Pale Moon 28.5.2 and MozArchiver 2.0.1.
testcase.zip
The text was updated successfully, but these errors were encountered: