Detecting Mobile Devices with JavaScript | A Beautiful Blog ã¹ãããå¤å¥ããã®ã«ä¾¿å©ãªJSã¹ãããããå ¬éããã¦ãã¾ãã JavaScriptã«ãã£ã¦Android, iOSã®å·®ãå¸åããéã«ä½¿ãããã§ãã iOSãã©ããã®å¤å¥ã¯ã以ä¸ã®ããã«è¶ ã·ã³ãã« if( isMobile.iOS() ) alert('iOS'); Android ã®ã¿ãã¬ããã®å ´å㯠Mobile ãå ¥ããªãã®ã§ãã¿ãã¬ãããèæ ®ããå ´åã¯ãã®ã¸ãã®ã³ã¼ãã追å ããã¨ããããã§ãã é¢é£ã¨ã³ã㪠iPhoneãiPodãiPadãã調ã¹ãPHPã¨JSã®ã½ã¼ã¹ã³ã¼ãä¾ å©ç¨è ã®ãã©ã¦ã¶ã»OSã»ãã¼ã¸ã§ã³ãåå¾ã§ããã¯ã©ã¹ã©ã¤ãã©ãªãBrowser.phpã
{{#tags}}- {{label}}
{{/tags}}