火狐浏览器修改userAgent的办法一:
在火狐浏览器地址栏输入“about:config”,按下回车进入设置菜单。
找到“general.useragent.override”,如果没有这一项,则点右键“新建”->“字符串”,输入这个字符串。
将其值设为自己想要的UserAgent(下面附有常见UA)
火狐浏览器修改userAgent的办法二:
user Agent Switcher插件。下载地址:https://addons.mozilla.org/zh-CN/firefox/addon/user-agent-switcher/
常见UA
“Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.6) Gecko/20070914 Firefox/2.0.0.7″
“Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7″
“Mozilla/5.0 (Windows; U; Windows NT 6.0; en) AppleWebKit/522.15.5 (KHTML, like Gecko) Version/3.0.3 Safari/522.15.5″
“Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/103u (KHTML, like Gecko) safari/100″
“Opera/9.23 (X11; Linux x86_64; U; en)”
“Opera/9.23 (Windows NT 5.1; U; en)”
“Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)”
“Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0)”
Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us)
AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314
Safari/531.21.10 ——iPad User Agent
附送一个可以查看浏览器User-Agent的网站,查看只有登录此即可http://whatsmyuseragent.com/