3 ms·
It is a nice game though, and even quite playable. Not to mention it is a great hack. As for the back button, I would argue that this is a problem that browser
by amenod 7y ago
It is a nice game though, and even quite playable. Not to mention it is a great hack.
As for the back button, I would argue that this is a problem that browsers should solve. Even in the wild, it happens often that the first page immediately redirects (via JS) to some other page - good luck using the Back button then. Maybe the page that wasn't displayed for more than ~1s shouldn't exist in history at all, or at least shouldn't be taken into account when pressing Back button? I'm sure even better solutions exist.
- allover 7y agoYep, see jwilk's comment re: history.replaceState() existing: https://news.ycombinator.com/item?id=21368314 https://news.ycombinator.com/item?id=21368314