The older review summary script already has this feature, I think by using localstorage and then deleting that when you start a new review session, so you could always look at the code and do something similar.
4 Likes