firefox3+wmlbrowser+User Agent Switcher来模拟手机浏览器

有时可能需要手机调试WAP页面,或者有的网站不让IE或者opera之类的PC浏览器访问,这时就需要他派上用途了:

1.工具:firefox3

  1. User Agent Switcher 0.6.11 –文件头切换工具 https://addons.mozilla.org/zh-CN/firefox/addon/59

3.wmlbrowser -浏览WML格式用

http://wmlbrowser.mozdev.org/

4.安装好一切后:就设置一下:

toolbar-button.png

上面的小图

ON就是当成WML浏览器了,这时还需要一个模拟文件名:

01.JPG 典型的文件头如下: 本文借鉴:http://forums.se-nse.net/index.php?showtopic=9702 Host: www.google.com User-Agent: SonyEricssonK800i/R1CB Browser Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5,text/vnd.wap.wml;q=0.6 Accept-Language: en-gb,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://www.google.com/mobile/mail/index.html Cookie: __utma=17323453.47394345.117753413.1173456613.1173456613.1; __utmb=173234373; __utmz=173272373.1177536613.2.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmc=176542373; PREF=ID=7027fc1097bab4345rt3:TM=1166536543:LM=1172346755:S=Ipl4Yshecgwoczsd10

Leave a Reply

Your email address will not be published. Required fields are marked *