很多网站都通过User-Agent来判断浏览器类型,如果是3G手机,显示手机页面内容,如果是普通浏览器,显示普通网页内容。

  谷歌Chrome浏览器,可以很方便地用来当3G手机模拟器。在Windows的【开始】-->【运行】中输入以下命令,启动谷歌浏览器,即可模拟相应手机的浏览器去访问3G手机网页:

  谷歌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"


  苹果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"


  苹果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"


  诺基亚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"


  试一试,分别用Android、iPhone、诺基亚访问http://www.163.com/http://blog.zyan.cc/http://www.google.com.hk/http://3g.qq.comhttp://t.sina.cn这些3G手机网页,看看有什么不同。

  更多款手机的User-Agent:http://www.zytrax.com/tech/web/mobile_ids.html

  10月11日备注:如果想切换回普通浏览器模式,关掉所有Chrome浏览器,重开即可。如果不想关闭浏览器,切回普通浏览器模式,则访问:
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"


Tags: , ,



技术大类 » Windows相关 | 评论(336) | 引用(0) | 阅读(231664)
starvip789 Email
2023-3-16 21:49
SLOT 888     The number 1 online slot game in Thailand, slot 888 online that includes the 888 slot game camp to play more than 300 games.
starvip789 Email
2023-3-16 21:49
pg slot เว็บตรง   online slot games Which is popular as No. 1 now, deposit-withdraw via the auto system.
starvip789 Email
2023-3-16 21:49
สล็อตออนไลน์    online slot games Which is popular as No. 1 now, deposit-withdraw via the auto system.
starvip789 Email
2023-3-16 21:49
ฝาก50รับ150  currently has online slot games. Comes in a new format with 3D images as slots online, direct websites and leading game camps such as PG SLOT JOKER GAME, new member registration, 100% bonus and many more slots
starvip789 Email
2023-3-16 21:49
ฝาก19รับ100  Earn real money without investment 2022 new dimension of making money from online gambling games Play free fish shooting games.
starvip789 Email
2023-3-16 22:57
PG  It is a new hot new game camp of the year 2021, in which this camp pg 168 is very different from other camps and one of them is clearly Pc game 168.
starvip789 Email
2023-3-16 22:57
slot pg  It is a new hot new game camp of the year 2021, in which this camp pg 168 is very different from other camps and one of them is clearly Pc game 168.
starvip789 Email
2023-3-16 22:58
betflix online slot games Deposit-withdraw via automatic system It has been ranked number 1 in popularity right now and is the most popular slot website right now.
starvip789 Email
2023-3-16 22:58
เว็บสล็อต A very popular game camp that played many years ago. Until now because it's a simple game. The rules are not complicated, the game is played for fun.
starvip789 Email
2023-3-16 22:58
สล็อตโรม่า  Roma slot, the most popular online slot game of all time, roma slot 888, play free, online roma slot game. playing for real money Legendary online gambling game 2021 Roma Slots from famous gaming companies
starvip789 Email
2023-3-16 22:59
SLOT 666  Roma slot, the most popular online slot game of all time, roma slot 888, play free, online roma slot game. playing for real money Legendary online gambling game 2021 Roma Slots from famous gaming companies
starvip789 Email
2023-3-16 22:59
สล็อต เว็บตรง  online slot games Which is popular as No. 1 now, deposit-withdraw via the auto system.
starvip789 Email
2023-3-16 22:59
PGSLOT  online slot games Which is popular as No. 1 now, deposit-withdraw via the auto system.
starvip789 Email
2023-3-16 22:59
pg 168  online slot games Which is popular as No. 1 now, deposit-withdraw via the auto system.
starvip789 Email
2023-3-16 22:59
Pg bet  Online slot web ready to provide entertainment on the internet 666 slot
starvip789 Email
2023-3-16 23:00
pg game  Online slot web ready to provide entertainment on the internet 666 slot
starvip789 Email
2023-3-16 23:00
Joker888  Online slot web ready to provide entertainment on the internet 666 slot
seo Email
2023-3-17 13:42
I am usually surprised via way of means of the quantity of facts to be had in this difficulty. What you supplied became properly researched and properly worded with the intention to get your stand in this throughout to all of your readers.  เว็บพนันออนไลน์เว็บตรง
starvip789 Email
2023-3-17 16:33
ฝาก50รับ150  Try to play slots, free slots games, the best of the year 2022, direct website, try to play that we have selected to play slots for free.
starvip789 Email
2023-3-17 16:34
ฝาก19รับ100  Try to play slots, free slots games, the best of the year 2022, direct website, try to play that we have selected to play slots for free.
分页: 7/17 第一页 上页 2 3 4 5 6 7 8 9 10 11 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]