ioBroker.javascript
ioBroker.javascript copied to clipboard
Capture back&forward navigation mouse buttons and prevent navigation when editing script
Is your feature request related to a problem? Please describe. VSCode has the ability to navigate back and forth between recently edited code locations using the side buttons of the mouse. Doing this in the JS adapter is dangerous though as it will cause the browser to navigate and lose all edits made since the last save.
Describe the solution you'd like Prevent navigation using the mouse buttons or at least ask the user if they want to navigate away.
Describe alternatives you've considered None
Additional context Losing half an hour worth of work because of one accidental button press is not nice.