4 ms·
I don't mind as much when they at least bother to bind the ESC key to close the overlay. I hit ESC and it goes away. Not sure why it needed to be there in the
by ars 13y ago
I don't mind as much when they at least bother to bind the ESC key to close the overlay.
I hit ESC and it goes away. Not sure why it needed to be there in the first place (is there anyone on the planet that actually looks at these things?)
- untog 13y agois there anyone on the planet that actually looks at these things? Yes. I mean, I don't have the data, but sites like Upworthy (who are featured) make 25 different headlines for every post, then test the hell out of them to see which one performs best. I'd be amazed if they didn't bother to also test the performance of popups like that.
- wizzard 13y agoUpworthy is the worst. "Murder is bad! # Agree # Disagree" And where do they post the results of all these hard-hitting surveys they do?
- wowaname 13y agoThat would be worse. I use the Escape key to stop page loads, and if a keybinding interrupts that expected functionality, I get pissed. Key example: Gmail. I don't know what it sucks Esc to, but it doesn't direct it to the browser. Web developers should really stick to the accesskey event which accepts alphanumeric bindings, and nothing else. Anything outside of that is likely to be used by the browser. I mean, there are some obvious exceptions (C-b for bold in a WYSIWYG editor) but as a rule of thumb it should be avoided.
- crazygringo 13y agoI dunno... binding Esc to close lightboxes is pretty web-standard, and I'm very glad when it closes those annoying lightboxes too. Hunting for the tiny "x", which is often intentionally hard to find, gets tiring. In fact, I had no idea Esc stopped page loads. Has that been a standard thing too? Although I must admit, stopping page loading is not something I hardly ever find myself doing...
- mikestew 13y ago> In fact, I had no idea Esc stopped page loads. Has that been a standard thing too? Has been as long as I can remember. Not that I use it much anymore with fat pipes (in comparison to a 9600 baud modem) being commonplace.
- Houshalter 13y agoThere is a lot of use in websites having shortcut keys though. For example using space to pause videos or the arrow keys to rewind. Not everything is optimal for the mouse.
- wodenokoto 13y agoesc stops page loading, not javascript execution. Gmail is essentially a javascript application.