Hacker News new | ask | show | jobs
by antonwinter 4322 days ago
interesting. doesn't seem to be anything non standard in the leave this page code

$(function () { window.onbeforeunload = function () { return 'Template not saved. Changes will be lost'; }; });

Has anyone else seen the leave this page stuff blow up? its the browser that handles it.

What browser/version did it blow up under?