Different user agents are often required for testing pages. Firefox and chrome can simulate various user agents perfectly. The User Agent switch plug-in can be of great help, chrome and Firefox both have this plug-in. First install the User-Agent switcher plug-in, and then click the options to add various user agents to the Custom User-Agent list. For example, iPad: iPhone 3.0 Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-US) applewebkit/528.18 (khtml, like gecko) version/4.0 mobile/7a341 Safari/528.16 Apple Computer, Inc. there is another method for iPad. If Chrome is installed on a Windows computer, you only need to "start-run. 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 "Apple iPad: chrome.exe-User-Agent =" Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-US) applewebkit/528.18 (khtml, like gecko) version/4.0 mobile/7a341 Safari/528.16 "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 "other various mobile phone browser user agent see here: http://www.zytrax.com/tech/web/mobile_ids.html
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.