Favorite guide how to make the [mobile browser] enter the [www url] to automatically jump to the [mobile edition] page!

Source: Internet
Author: User
For more information, see [mobile browsers] and enter the [www website] to automatically jump to the [mobile edition] page !! For example, if you enter www.sina.com.cn in the mobile browser, the browser will automatically jump to 3g.sina.com.cn. for guidance on source code and online, please wait !! ------ Solution ------ add to favorites please go to the [mobile browser] and enter the [www url] to automatically jump to the [mobile edition] page !!
How to enable the mobile browser to enter the www url to automatically jump to the mobile page

For example, if you enter www.sina.com.cn in the mobile browser, the browser will automatically jump to 3g.sina.com.cn !!


------ Solution --------------------
Client agent judgment
ISP judgment
Determine whether the client can support features of certain mobile phones (through js and so on)
......

But I can tell you that none of the above is accurate. it is best to make a button for the customer to choose.

BTW: for some time in the past two years, I used x64 firefox (PC) to access the Sina homepage. I always automatically jumped to the wap version and didn't return any settings, which made me think Sina is very junk, it will be fixed in about a month ......
------ Solution --------------------
Let's make multiple functions that you can choose from !! The default version is pc !! Judging the browser ID is also a good way !!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.