Use the following code snippet to detect a mobile device −Examplevar device = { Android: function() { return navigator.
確定! 回上一頁