• 公司网页监控到的各种不能识别的浏览器userAgent,都是些什么啊


    ie是通过window.ActiveXObject特性来识别的

    mozilla/4.0(compatible;msie8.0;windowsnt6.1;trident/4.0;slcc2;.netclr2.0.50727;.netclr3.5.30729;.netclr3.0.30729;mediacenterpc6.0)

    mozilla/4.0(compatible;msie7.0;windowsnt5.1;trident/4.0;.net4.0c)

    mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1;.netclr1.1.4322)

    mozilla/4.0(compatible;msie7.0;windowsnt5.1;trident/4.0;mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1);.netclr2.0.50727;.netclr3.0.04506.648;se2.xmetasr1.0)

    mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1)

    mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1;.netclr2.0.50727)

    mozilla/4.0(compatible;msie8.0;windowsnt5.1;trident/4.0;360se)

    mozilla/4.0(compatible;msie7.0;windowsnt6.1;trident/4.0;mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1);slcc2;.netclr2.0.50727;.netclr3.5.30729;.netclr3.0.30729;mediacenterpc6.0;alexatoolbar;boie9;zhcn)

    mozilla/5.0(windows;u;windowsnt5.1;)applewebkit/533.9(khtml,likegecko)maxthon/3.0safari/533.9

    mozilla/4.0(compatible;msie8.0;windowsnt5.1;trident/4.0;qqdownload693;btrs7825;mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1))

    mozilla/4.0(compatible;msie8.0;windowsnt5.1;trident/4.0;su3.94;.netclr2.0.50727;.net4.0c;.net4.0e;.netclr3.0.4506.2152;.netclr3.5.30729)

    mozilla/4.0(compatible;msie8.0;windowsnt5.1;trident/4.0)

    mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1;360se)

    上网搜了一下说是下载工具的userAgent,有待验证。一下为搜索网页的部分内容

      '获取浏览器AGENT 
        xurl=lcase(Request.ServerVariables("HTTP_USER_AGENT")) 
        '定义禁止的AGENT,下面5个包含最新版的快车,旋风和迅雷部分版本,可以自行添加! 
        xtool="mozilla/4.0(compatible;msie5.00;windows98)"&_ 
        "mozilla/4.0(compatible;msie6.0;windows+nt5.0)"&_ 
        "mozilla/4.0(compatible;msie6.0;windowsnt5.1;)"&_ 
        "mozilla/4.0(compatible;msie6.0;windowsnt5.0;.netclr1.1.4322)"&_ 
        "mozilla/4.0(compatible;msie6.0;windowsnt5.0;.netclr3.5.20706)"&_ 
        "mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1;.netclr1.1.4322;.netclr2.0.50727)" 
        '判断AGENT是否合法 

  • 相关阅读:
    EXTJS 基本使用
    EXTJS 常用控件的使用
    EXTJS 验证与表单提交
    EXTJS 常用方法
    禁用USB移动盘的方法
    常用sql 函数练习示例
    .Net 中的反射(反射特性) Part.3
    Delphi調用.NET的WebService
    c#写的串口通讯
    打印控制
  • 原文地址:https://www.cnblogs.com/oceanxing/p/2674114.html
Copyright © 2020-2023  润新知