Hacker News new | ask | show | jobs
by sfeng 4362 days ago
I think if they used `window.history.back()` instead of whatever they do now when closing the frame, and listened to the popstate event to reopen it, it would work.

That being said, yes, this is why reimplementing browser builtins hard, you have to get all the details right. That being said, hard != don't do it.