js禁止请求跳转

window.onbeforeunload = function(){
    return '你肯定要关闭吗?';
}
相关文章
相关标签/搜索