top | item 19764010

Open-source Chrome extension to save the state of a page for further analysis

75 points| wingleung | 6 years ago |github.com

5 comments

order
[+] kbenson|6 years ago|reply
Not including JavaScript state, I assume, since that isn't exposed by the extensions API to my knowledge.

If that's true, it's still kind of cool, but I think the title is reaching a bit, depending on whether you consider JavaScript state part of the page state (and there's certainly pages where I think that's true).

[+] scottfr|6 years ago|reply
Extension content scripts can inject script elements into their pages which then allow them to access the page's JS variables. But even then there wouldn't be any way to access key parts of the state like closures.
[+] nikisweeting|6 years ago|reply