You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "phreakocious (Jira)" <ji...@apache.org> on 2021/02/18 16:11:00 UTC

[jira] [Created] (GUACAMOLE-1292) Preventing unintentional window/tab closing with beforeUnload

phreakocious created GUACAMOLE-1292:
---------------------------------------

             Summary: 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


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)