<noframes id="9rfbv">

    <form id="9rfbv"><nobr id="9rfbv"><progress id="9rfbv"></progress></nobr></form><address id="9rfbv"><address id="9rfbv"><listing id="9rfbv"></listing></address></address>
        <em id="9rfbv"></em>
          <dfn id="9rfbv"><dl id="9rfbv"><cite id="9rfbv"></cite></dl></dfn>
          <address id="9rfbv"></address>

          <address id="9rfbv"></address>

          <address id="9rfbv"></address>

            JS判斷瀏覽網頁的設備類型

            時間:2017/4/9 15:00:23,點擊:0

            <script> 
            var system ={};
                var p = navigator.platform;      
                system.win = p.indexOf("Win") == 0;
                system.mac = p.indexOf("Mac") == 0;
                system.x11 = (p == "X11") || (p.indexOf("Linux") == 0);    
                if(system.win||system.mac||system.xll){
                    document.write("<p>PC</p>");
                }else{  
                    document.write("<p>Mobile</p>");
                }
            </script>

            打印 | 關閉

            日本字幕有码中文字幕