Confirmation for unsaved changes in script editor
You’ll now see a confirmation dialog if you attempt to leave the Script editor page without saving your changes. This helps prevent accidental loss of work.
When in edit mode, the new dialog appears if you:
Navigate back or forward within the browser tab.
Close the current tab or browser window.