[
https://issues.apache.org/jira/browse/GUACAMOLE-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Couchman closed GUACAMOLE-1582.
------------------------------------
Resolution: Duplicate
> Prevent accidential tab closing
> -------------------------------
>
> Key: GUACAMOLE-1582
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1582
> Project: Guacamole
> Issue Type: Wish
> Components: guacamole
> Environment: Current Firefox on Linux or Windows
> Reporter: Fabio Zuber
> Priority: Minor
>
> Heya{*}{*}
> I'm using the Guacamole website to control a remote machine. Sometimes when
> I'm typing in a terminal, my muscle memory kicks in and I press CTRL+W to
> delete a word. Instead of deleting the word, it closes the guacamole tab.
> I see two ways to improve this:
> * Forward CTRL + W to the remote machine (not sure if possible)
> * Add a onbeforeunload listener to prevent accidental closures via shortcut.
> Example: [https://www.w3schools.com/jsref/event_onbeforeunload.asp]
> Please let me know how you feel about this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)