• 如何检查浏览器版本以及支持性


    在任意窗体的.cs文件中输入以下代码即可
                HttpBrowserCapabilities bc = Request.Browser;
                Response.Write("<p>Browser Capabilities:</p>");
                Response.Write("Type = " + bc.Type + "<br>");
                Response.Write("Name = " + bc.Browser + "<br>");
                Response.Write("Version = " + bc.Version + "<br>");
                Response.Write("Major Version = " + bc.MajorVersion + "<br>");
                Response.Write("Minor Version = " + bc.MinorVersion + "<br>");
                Response.Write("Platform = " + bc.Platform + "<br>");
                Response.Write("Is Beta = " + bc.Beta + "<br>");
                Response.Write("Is Crawler = " + bc.Crawler + "<br>");
                Response.Write("Is AOL = " + bc.AOL + "<br>");
                Response.Write("Is Win16 = " + bc.Win16 + "<br>");
                Response.Write("Is Win32 = " + bc.Win32 + "<br>");
                Response.Write("Supports Frames = " + bc.Frames + "<br>");
                Response.Write("Supports Tables = " + bc.Tables + "<br>");
                Response.Write("Supports Cookies = " + bc.Cookies + "<br>");
                Response.Write("Supports VB Script = " + bc.VBScript + "<br>");
                Response.Write("Supports JavaScript = " + bc.JavaScript + "<br>");
                Response.Write("Supports Java Applets = " + bc.JavaApplets + "<br>");
                Response.Write("Supports ActiveX Controls = " + bc.ActiveXControls + "<br>");
                Response.Write("CDF = " + bc.CDF + "<br>");

  • 相关阅读:
    商业软件太贵?找开源替代品
    Odoo9发行说明
    Odoo(OpenERP)配置文件openerp-server.conf详解
    MyBatis-Generator最佳实践
    elasticsearch 口水篇(1) 安装、插件
    log4j直接输出日志到flume
    Maven编译时跳过Test
    Flume1.5.0的安装、部署、简单应用(含伪分布式、与hadoop2.2.0、hbase0.96的案例)
    Flume 1.5.0简单部署试用
    一共81个,开源大数据处理工具汇总(下),包括日志收集系统/集群管理/RPC等
  • 原文地址:https://www.cnblogs.com/wbpmrck/p/1776330.html
Copyright © 2020-2023  润新知