beforeunload
trigger input event❓ input then delete
https://github.com/mdn/content/pull/29703/commits/acbf3ebbb70ac1e09d3c86aad75487c1f3268e3c
username:
谷歌、火狐、edge等浏览器中
被优化了
,需要用户在页面
有过未保存的内容的操作
才会出现提示!⚠️
email
tel