3 ms·
There’s a browser API for preventing people from leaving pages if they are in a context like that. And unlike this method, it works for the first page, works if
by Waterluvian 4y ago
There’s a browser API for preventing people from leaving pages if they are in a context like that. And unlike this method, it works for the first page, works if you try to close the tab, and works if you try to navigate to a different link. And it doesn’t become entangled with browser navigation.
- omnimus 4y agoWell my point is that it's a bit unfair to blame the authors of the presentation for this functionality. Reveal.js is pretty much the standard open-source javascript presentation framework. It's used and developed by slides.com. I don't know why it works like it does. But mind you this is 6 year old presentation with reveal.js from 2015.
- Waterluvian 4y agoWho blamed the authors and what did they blame them for?