最新下载
热门教程
- 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
相关文章
- 《Resident Evil Requiem》结局过于儿戏 弄巧成拙 03-28
- 免费看全本漫画app推荐-无广告免费看漫画app精选 03-28
- jk漫画最新版本下载入口在哪-jk漫画官方正版下载永久防失效地址 03-28
- 《Pokemon TCG Pocket》隐藏闪光梦幻徽章 解锁难度极高 03-28
- 《头号禁区》奥义效果介绍 03-28
- 六级准考证打印入口-六级准考证打印官网 03-28