Google Browser analog phone

Source: Internet
Author: User

Many websites use User-agent to judge the browser type, if it is a 3G mobile phone, display the contents of the mobile page, if it is a normal browser, display ordinary Web content.

Google Chrome browser can be easily used when 3G phone simulator. In Windows Start and run, enter the following command to launch Google Chrome to simulate the browser of the corresponding phone to access the 3G Mobile Web page:

Google Android:

Chrome.exe--user-agent= "mozilla/5.0 (Linux; U Android 2.2; En-us; Nexus one build/frf91) applewebkit/533.1 (khtml, like Gecko) version/4.0 Mobile safari/533.1 "



Apple iphone 4:

Chrome.exe--user-agent= "mozilla/5.0 (IPhone; CPU iPhone os 5_0_1 like Mac os X applewebkit/534.46 (khtml, like Gecko) mobile/9a405 "



Apple ipad 2:

Chrome.exe--user-agent= "mozilla/5.0 (IPad; CPU os 5_0_1 like Mac os X applewebkit/534.46 (khtml, like Gecko) mobile/9a405 "



Nokia N97:

Chrome.exe--user-agent= "mozilla/5.0 (symbianos/9.4; series60/5.0 nokian97-1/20.0.019; profile/midp-2.1 configuration/cldc-1.1) applewebkit/525 (khtml, like Gecko) browserng/7.1.18124 "



Try it with Android, IPhone, Nokia access http://www.163.com/, http://blog.zyan.cc/, http://www.google.com.hk/, http://3g.qq.com And http://t.sina.cn these 3G mobile Web pages to see what's different.

More user-agent:http://www.zytrax.com/tech/web/mobile_ids.html for mobile phones

October 11 Note: If you want to switch back to normal browser mode, turn off all chrome browsers and re-open. If you do not want to close the browser and switch back to normal browser mode, then visit:

Chrome.exe--user-agent= "mozilla/5.0 (Windows NT 6.1) applewebkit/535.7 (khtml, like Gecko) chrome/16.0.912.77 safari/ 535.7 "
Related Article

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.