mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Unlike normal browser which would show a dialog to choose whether to continue, you can just return a empty string in the handler to prevent unloading.
1.2 KiB
1.2 KiB