Hi Dietrich,

the onbeforeunload event can be used to show a confirmation dialog 
asking the user if they really want to leave the page:

https://developer.mozilla.org/en/DOM/window.onbeforeunload

To my knowledge, this event can't be canceled.

Regards,
Daniel

On 07/20/2012 02:37 PM, Dietrich Streifert wrote:
> Hello Everybody,
>
> I've searched the mailing list and the documentation if and how it is
> possible to prevent the user from leaving the application if he
> navigates (accidently) away from the app by clicking on the navigate
> back button of the browser.
>
> I've found some hints on "canceling the onbeforeunload" event. Or some
> mechanism allowing the user to select.
>
> Any help would be great.
>
> Regards.
> Dietrich.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to