修改主流浏览器User-Agent

IE:

1,F12进入开发人员工具
2,工具->更改用户代理字符串->自定义
3,在“友好名称”中填入”IE9″,在“用户代理字符串”中填入”new_user_agent“,然后点击“添加”按钮
4,选择新添加的User-Agent,点击“设置”按钮设为当前User-Agent

Firefox:

1,在地址栏输入”about:config
2,新建 “general.useragent.override“项
3,输入新的UA值:”new_user_agent

Chrome:

1,新建一个chrome.exe的快捷方式
2,右键快捷方式,在目标框尾部追加” –user-agent=”new_user_agent”

new_user_agent 应替换为以下常用 User-Agent 形式的内容:
Google Chrome

Chrome on Windows 10:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Chrome on Mac:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Chrome on Linux:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Mozilla Firefox

Mozilla Firefox on Windows 10:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Mozilla Firefox on Ubuntu:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Mozilla Firefox on Mac:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0; rv:49.0) Gecko/20100101 Firefox/49.0

IE

IE 11 on Windows 10:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Edge on Windows 10:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14931

iPad

Safari for iPad
Mozilla/5.0 (iPad; CPU OS 10_0_2 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A456 Safari/602.1
Safari for iPhone
Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A551 Safari/602.1

Android

Chrome for Android
Mozilla/5.0 (Linux; Android 6.0.1; HTV32 Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Mobile Safari/537.36
Firefox for Android
Mozilla/5.0 (Android 6.0.1; Mobile; rv:49.0) Gecko/49.0 Firefox/49.0

Published by

@XiaoKyun

双鱼男,过分热心的好人。