• <th id="1lizu"><video id="1lizu"></video></th>

      <th id="1lizu"></th>

      <tr id="1lizu"></tr>
      <th id="1lizu"></th>

      1. > „ > WվO >

        ֙CLpcWվԄD֙C˾Wվa

        Wվ݋ 2020-03-09 11:20 / ھWվO / g

        <SCRIPT LANGUAGE="JavaScript">
        function mobile_device_detect(url)
        {

                var thisOS=navigator.platform;

                var os=new Array("iPhone","iPod","iPad","android","Nokia","SymbianOS","Symbian","Windows Phone","Phone","Linux armv71","MAUI","UNTRUSTED/1.0","Windows CE","BlackBerry","IEMobile");

         for(var i=0;i<os.length;i++)
                {

         if(thisOS.match(os[i]))
                {   
          window.location=url;
         }
          
         }


         //ஔֵ֙Cϵy֪Ϣ,@RrJ
         if(navigator.platform.indexOf('iPad') != -1)
                {
          window.location=url;
         }

         //@һAndroid֙CăȺҲLinux
         //navigator.platform@ʾϢMͬr,ˏĞg[navigator.appVersionϢД
          var check = navigator.appVersion;

          if( check.match(/linux/i) )
                  {
           //X11UCg[ƽ_ g[ҲԸϗl
           if(check.match(/mobile/i) || check.match(/X11/i))
                         {
           window.location=url;
           }  
         }

         //in_array
         Array.prototype.in_array = function(e)
         {
          for(i=0;i<this.length;i++)
          {
           if(this[i] == e)
           return true;
          }
          return false;
         }

        mobile_device_detect("http://**.***.com");

        </SCRIPT>

        Ļ- С˵ ŷ -ȾþóƷĻ-ɫݺĻ