3 ms·
Yep, hijacking the back button is rarely useful if ever. I would never think to click back to go one slide back.
by willio58 8y ago
Yep, hijacking the back button is rarely useful if ever. I would never think to click back to go one slide back.
- codetrotter 8y agoI disagree, I think it makes sense. It makes it possible to link to a specific slide.
- Nullabillity 8y agoYou can use replaceState[0] to update the URL without adding a new history entry. [0]: https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method https://developer.mozilla.org/en-US/docs/Web/API/History_API...
- codetrotter 8y agoTrue, forgot about that. Yeah that would’ve been preferable.