最新下载
热门教程
- 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
相关文章
- 心跳陷落哪位角色最强-心跳陷落角色强度排名 07-30
- 古今2风起蓬莱兑换码有哪些 07-30
- 王者之弈最新阵容怎么搭配-王者之弈最新阵容搭配方法 07-30
- 洛克王国世界三端互通吗 手游和端游能否一起玩 07-30
- 最强祖师感悟点怎么获得 07-30
- 原神如何达成诉说过去、现在与未来成就 07-30