News for hackers. Stuff that matters.
Re:Chrome removes Backspace to go back by onion2k on Thursday May 19, 2016 @05:09PM (#11733867)
I'm not sure why it'd be hard. "If there's a dom element that's an input of any time, and the user has focused it at any point, ask for confirmation on page exit" would work fine. The only case where I can see it being an issue would be a site that uses a select element as a menu, but I've not seen any do that in years.
Re:Chrome removes Backspace to go back by PunchTornado on Thursday May 19, 2016 @05:58PM (#11734205)
I think it can easily get abused, just some hidden focused inputs
Re:Chrome removes Backspace to go back by onion2k on Friday May 20, 2016 @01:40AM (#11735738)
Browsers already have a pageUnload event that can block a user leaving until they confirm they want to. This would effectively be the same.