3 ms·
But assuming it’s just a div that appears when you mouse off at the top, it doesn’t actually do anything to stop them. It’s not outrageous for a shopkeeper to s
by evan_ 5y ago
But assuming it’s just a div that appears when you mouse off at the top, it doesn’t actually do anything to stop them. It’s not outrageous for a shopkeeper to say “don’t go!” or something like that as you’re leaving.
It’s annoying and tacky but it’s not analogous to being held hostage.
- nickthegreek 5y agoIn the olden days, a website could pop up a dialog box that would lock browser interaction til it was dealt with. It was abused. A lot. This was way prior to 2012 tho.
- addaon 5y ago2012. A modal dialog was probably a javascript alert(), which at the time was model for the whole browser and would prevent navigation until dismissed.
- gruez 5y agoI just tested with an older version of firefox (10.0, released January 31, 2012), and it had non-modal alert() dialogs.
- menzoic 5y agoYou've never seen this? When someone clicks to close a browser tab you can stop the tab from closing by adding a handler to the onbeforeunload() event.