Is it possible to show a designed modal or element in the browser window when a user tries to close the window, instead of a browser alert box?
I tried playing with window.onbeforeload = function(){...}
but that was only for an alert box it seemed.
A second question is, can this browser alert box carry 3 questions and at least 2 of those questions have links to another location?