大家好,又见面了,我是全栈君
查看效果:http://hovertree.com/code/html5/q69kvsi6.htm
代码:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>JS判断浏览器Storage支持情况 - 何问起</title><base target="_blank" />
<meta charset="utf-8" />
</head>
<body>
<script>
if(typeof(Storage)=="undefined")
{
document.write("何问起提醒:您的浏览器不支持Web Storage");
}
else {
document.write("何问起提醒:您的浏览器可以使用Web Storage");
}
</script>
<div><br />参考:
<a href="http://hovertree.com/h/bjaf/html_5_webstorage.htm" style="color:blue">Web存储</a><br />
By hovertree.com</div>
</body>
</html>
网页特效:http://www.cnblogs.com/roucheng/p/texiao.html
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/120653.html原文链接:https://javaforall.cn
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有