javascript - What is the best way to detect a handheld device in jQuery? - Stack Overflow

javascript - What is the best way to detect a handheld device in jQuery? - Stack Overflow

瀏覽:424
日期:2025-06-18
Is there a solid way to detect whether or not a user is using a mobile/handheld device in jQuery? Something similar to the css media attribute? I would like to run a different script if the browser... ... If by "mobile" you mean "small screen," I use this...看更多