javascript - I want to direct users to webpages based on if they are on a desktop or mobile OS -
this question has answer here:
i have button links third party website. site has features not work mobile devices. want create when button pressed checks os version , based on result pass through site or redirect site says not supported.
i assume code have updated detect new mobile os versions. there easier way accomplish detecting browser version? mobile browsers have own user agent tag ($.browser.mobilemozilla )?
i have been trying research have been coming short. ideas or point in right direction appreciated.
check library js-redirection-mobile
Comments
Post a Comment