iOS11里判断Safari浏览器是无痕模式还是正常模式? var isPrivate = false; try { window.openDatabase(null, null, null, null); } catch (_) { isPrivate = true; }