iPad Detection Using JavaScript or PHP JavaSciprt/PHPã«ããiPadæ¤åºã³ã¼ãä¾ã¨.htaccessã«ãããªãã¤ã¬ã¯ãä¾ãå ¬éããã¦ãã¾ãã ã³ã¼ãã«é¢ãã¦ã¯ãiPadãUserAgentã«å«ã¾ãã¦ããã®ãè¦ã¦ããã ãã§ããããã³ããã°ã©ããªæ¹ã¯åèã«ããã¦ã¿ã¦ãã ããã .htaccess ã§ããã¨æ¬¡ã®ããã«ã³ã¼ããè¨è¿°ããã°ãiPad ã®å ´åã« ipad.yourdomain.com ã« ãªãã¤ã¬ã¯ãããããã¨ãå¯è½ã§ãã RewriteCond %{HTTP_USER_AGENT} ^.*iPad.*$ RewriteRule ^(.*)$ http://ipad.yourdomain.com [R=301] iPadãµã¤ããå¥ãã¡ã¤ã³ã®ãµã¤ãã«è¨ç½®ããå ´åã«ããªãã¤ã¬ã¯ãããéã«ä½¿ãããã§ããã é¢é£ã¨ã³ã㪠iPadç¨ã®ãµã¤ãä½
{{#tags}}- {{label}}
{{/tags}}