Using Google Chrome as a phone simulator

Source: Internet
Author: User

Many websites use User-agent to determine 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, which can be conveniently used as a 3G phone simulator. In Windows "Start" and "Run" enter the following command, launch Google Browser, you can simulate the corresponding phone browser to access 3G mobile Phone 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 :  

Chrome.exe--user-agent= "mozilla/5.0 (IPad; U CPU os 3_2_2 like Mac os X;  En-US) applewebkit/531.21.10 (khtml, like Gecko) version/4.0.4 mobile/7b500 safari/531.21.10 " 


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.s135.com/, http://www.google.com.hk/, HTTP/ 3g.qq.com, http://t.sina.cn these 3G mobile Web pages to see what's different.  

Use Google Chrome as your phone simulator

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.