最新下载
热门教程
- 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")<=0 then
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")<=0 then
nn="true"
' Netscape 3 or greater
end if
end if
if ie32 then
%>
<%
elseif nn then
相关文章
- 比特币ETF引发市场巨变:每日购买量达矿产量十倍 08-02
- 《碧蓝航线》胡滕装备搭配方案推荐 08-02
- 《荒神记手游》每日任务玩法介绍 08-02
- 《蛋仔派对》皇冠获取渠道详解 08-02
- 美联储降息预期升温引关注 08-02
- 《创造与魔法》魔法熔炉制作视频攻略 08-02