javascript - How to detect "request desktop site" mode of iOS Mobile Safari and Chrome? -


i'd send ipad version of web site when users use "request desktop site" of ios mobile safari or "request desktop version" of ios chrome. seems user-agent different in mode, , seems impossible detect. ideas?

my site has 3 versions : desktop / tablet / smartphone. tablet version static version of desktop version dynamic , uses javascript heavily (parallax effects.)


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -