문제

I need to be able to detect if my webpage is running on a blackberry before OS 7.

I need to be able to tell a user that certain elements will no function correctly.

Is this possible?

도움이 되었습니까?

해결책

From the useragent, you can detect what device the user is using.

You can use this great link http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-detect-the-BlackBerry-Browser/ta-p/559862

A sample user agent for the BlackBerry Bold 9900 smartphone:

Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0 Mobile Safari/534.11+
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top