最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
介绍一个判断plug-ins/ActiveX 是否存在的例子
时间:2022-06-30 09:44:37 编辑:袖梨 来源:一聚教程网
这里就以在IE3.02和Netscape3+的浏览器为例,介绍关于Flash(以Flash2为例)插件是否安装.
a = lcase(request.servervariables("http_user_agent"))
if instr(a,"msie")>0 then
if instr(a,"98")>0 or instr(a,"95")>0 or instr(a,"nt")>0 then
ie32="true"
' IE 3 or greater on 32-bit
end if
elseif instr(a,"mozilla/3")>0 or instr(a,"mozilla/4")>0 then
if instr(a,"opera") nn="true"
' Netscape 3 or greater
end if
end if
if ie32 then
%>
elseif nn then
a = lcase(request.servervariables("http_user_agent"))
if instr(a,"msie")>0 then
if instr(a,"98")>0 or instr(a,"95")>0 or instr(a,"nt")>0 then
ie32="true"
' IE 3 or greater on 32-bit
end if
elseif instr(a,"mozilla/3")>0 or instr(a,"mozilla/4")>0 then
if instr(a,"opera") nn="true"
' Netscape 3 or greater
end if
end if
if ie32 then
%>
elseif nn then
相关文章
- 豚豚剧官网在线观看入口链接分享-豚豚剧2026最新资源在线看 01-19
- twitch官网入口地址-twitch网页版登录 01-19
- 追剧网官网高清免费在线观看-最新电视剧电影免下载 01-19
- 1688成品网站入口-网页版一键登录1688 01-19
- 360网页版一键登录-360安全浏览器极速网页版 01-19
- 126邮箱登录入口升级版-126免费邮箱网页版直达热榜首选 01-19