1. 首页
  2. 移动开发
  3. HTML5
  4. js离开或刷新页面检测(且兼容FFIEChrome)

js离开或刷新页面检测(且兼容FFIEChrome)

上传者: 2020-12-13 13:45:19上传 PDF文件 18KB 热度 7次
代码如下:<!DOCTYPE html><html><head>[removed] function closeIt() { return “Any string value here forces a dialog box to \n” + “appear before closing the window.”; } [removed] = closeIt;[removed]</head><body> Click here to navigate to www.jb51.ne
下载地址
用户评论