手把手教你修改Firefox的User-Agent伪装Android微信浏览器 2016-03-22 21:45:35

增加配置结点:general.useragent.override


值(Android微信浏览器):Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; GT-S5660 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 MicroMessenger/4.5.255


在火狐浏览器地址栏输入“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

Leave a Reply

Tweets
    2012 ZhangYutian.Com all rights reserved. www.zhangyutian.com