如何禁用浏览器的后退与刷新
📝
内容提要
js代码 window.onbeforeunload = function() { return "Your work will be lost."; }; 如果取消请用window.onbeforeunload=null; … The post 如何禁用浏览器的后退与刷新 first appeared on Lenix Blog.
🏷️
标签
➡️