[
https://issues.apache.org/jira/browse/GUACAMOLE-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286749#comment-17286749
]
phreakocious commented on GUACAMOLE-1292:
-----------------------------------------
PR: https://github.com/apache/guacamole-client/pull/592
> Preventing unintentional window/tab closing with beforeUnload
> -------------------------------------------------------------
>
> Key: GUACAMOLE-1292
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1292
> Project: Guacamole
> Issue Type: Improvement
> Reporter: phreakocious
> Priority: Major
>
> Many people who use my guac systems have unintentionally closed their
> window/tab with ctrl-w in a command line session. I have added the
> beforeUnload event listener code to prevent this, but it currently impacts
> all windows. I'd like it to be in effect only for active connection tabs.
> Could someone help me find a way to reliably determine if the user is
> currently in a remote connection vs in a menu? Thanks!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)