forked from zZPiglet/Task
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeUA.conf
More file actions
11 lines (8 loc) · 938 Bytes
/
ChangeUA.conf
File metadata and controls
11 lines (8 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
# 更换 User-Agent 以提升体验。(Quantumult X Edition)
# 若有其余推荐 User-Agent 及需要替换的网页可提 issue 反馈。
# zZPiglet 自用
hostname = *.baidu.com, www.zhihu.com
# 百度(全站替换为手机百度 Quark 的 User-Agent)
^https?:\/\/(?!d\.pcs).*\.baidu\.com url request-header (\r\n)User-Agent:.+iPhone.+(\r\n) request-header $1User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/16C50 Quark/604.1 T7/10.3 SearchCraft/2.6.3 (Baidu; P1 8.0.0)$2
# 知乎(部分替换为手机百度 Quark 的 User-Agent)
^https?:\/\/www\.zhihu\.com url request-header (\r\n)User-Agent:.+(\r\n) request-header $1User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/16C50 Quark/604.1 T7/10.3 SearchCraft/2.6.3 (Baidu; P1 8.0.0)$2