Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はwindow.onbeforeunloadを使用しています。独自のカスタムアラートメッセージがありますが、メッセージとともに、その確認ウィンドウにデフォルトのメッセージも表示されます。カスタムメッセージだけが必要です。
それを行う方法はありません。これはブラウザのデフォルト機能です。