ioBroker.javascript icon indicating copy to clipboard operation
ioBroker.javascript copied to clipboard

Capture back&forward navigation mouse buttons and prevent navigation when editing script

Open AlCalzone opened this issue 2 years ago • 0 comments

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.

AlCalzone avatar Sep 26 '23 19:09 AlCalzone