开发者

Emulate Crash Recovery in Internet Explorer 8

开发者 https://www.devze.com 2023-03-06 07:47 出处:网络
Does anybody know if IE has an API for emula开发者_JAVA技巧ting the browser\'s automated crash recovery feature (ACR)?

Does anybody know if IE has an API for emula开发者_JAVA技巧ting the browser's automated crash recovery feature (ACR)?

I want to be able to manually save the browser session to file (ACR writes session data to compound file binary format) and restore that session using what was saved.


What information do you want to store? If you want window size/position/tab states, including history for each tab, I don't know (though I can see reasons not to expose that, from a security/malware-protection point of view).

If you want to store page state locally, there are lots of different options - though the one you're probably most interested in is localStorage. (There's an equivalent, though more ceremonious, API for IE as well.)

0

精彩评论

暂无评论...
验证码 换一张
取 消