Dec 24, 2020 · An easy way to detect mobile devices in Javascript is to check if the word “mobile” exists in the HTTP user agent – if (navigator.userAgent.
確定! 回上一頁