Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1292

Preventing unintentional window/tab closing with beforeUnload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              phreakocious phreakocious
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: