• 浏览器版本的全部信息(Javascript)


    浏览器代码名称:navigator.appCodeName
    浏览器名称:navigator.appName
    浏览器版本号:navigator.appVersion
    对Java的支持:navigator.javaEnabled()
    MIME类型(数组):navigator.mimeTypes
    系统平台:navigator.platform
    插件(数组):navigator.plugins
    用户代理:navigator.userAgent

    <html>
    <body>
    
    <script type="text/javascript">
    var x = navigator;
    document.write("CodeName=" + x.appCodeName);
    document.write("<br />");
    document.write("MinorVersion=" + x.appMinorVersion);
    document.write("<br />");
    document.write("Name=" + x.appName);
    document.write("<br />");
    document.write("Version=" + x.appVersion);
    document.write("<br />");
    document.write("CookieEnabled=" + x.cookieEnabled);
    document.write("<br />");
    document.write("CPUClass=" + x.cpuClass);
    document.write("<br />");
    document.write("OnLine=" + x.onLine);
    document.write("<br />");
    document.write("Platform=" + x.platform);
    document.write("<br />");
    document.write("UA=" + x.userAgent);
    document.write("<br />");
    document.write("BrowserLanguage=" + x.browserLanguage);
    document.write("<br />");
    document.write("SystemLanguage=" + x.systemLanguage);
    document.write("<br />");
    document.write("UserLanguage=" + x.userLanguage);
    </script>
    
    </body>
    </html>
  • 相关阅读:
    构造函数
    时延(delay,latency)
    吞吐量
    带宽(band-width)
    单位
    bps
    比特(bit)
    速率
    C语言中的“>>”和“<<”
    C#中unit
  • 原文地址:https://www.cnblogs.com/gaoxihan/p/2635641.html
Copyright © 2020-2023  润新知