The following is a usage tips published by a chrome user, hoping to help readers.
Many websites use User-Agent to determine the browser type. For a 3G mobile phone, the page content of the mobile phone is displayed. For a common browser, the page content is displayed.
Google Chrome can be easily used as a 3G mobile phone simulator. In Windows, enter the following command in "start"> "run" to start Google Chrome. Then, the browser of the corresponding mobile phone can be simulated to access the webpage of 3G mobile phone:
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/1270.019; profile/MIDP-2.1 configuration/CLDC-1.1) applewebkit/525 (khtml, like gecko) browserng/7.1.18124"
Try, visit http://www.163.com/?http://blog.s135.com/, http://www.google.com.hk/, http://3g.qq.com, http://t.sina.cn 3G mobile Web page with Android, iPhone, Nokia to see what is different.
User-Agent: http://www.zytrax.com/tech/web/mobile_ids.html for more mobile phones
Note: If you want to switch back to the normal browser mode on April 9, close all chrome browsers and restart them. If you do not want to close the browser and switch back to normal browser mode, access: chrome.exe -- User-Agent = "Mozilla/5.0 (windows; U; Windows NT 5.1; en-US) applewebkit/534.3 (khtml, like gecko) Chrome/6.0.472.63 Safari/534.3"
This article is from: zmo_xu's blog