Skip to content

Instantly share code, notes, and snippets.

@luoboQAQ
Last active December 4, 2024 08:39
Show Gist options
  • Save luoboQAQ/7b56992450d991e3707d7a8eb7f3759d to your computer and use it in GitHub Desktop.
Save luoboQAQ/7b56992450d991e3707d7a8eb7f3759d to your computer and use it in GitHub Desktop.
Header Editor规则
{
"request": [
{
"enable": false,
"name": "Sourceforge下载 >> 镜像站点",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/sourceforge\\.net\\/projects\\/(((\\w)\\w).*)\\/files\\/(.*)\\/download",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "http://master.dl.sourceforge.net/project/$1/$4",
"group": "重定向"
},
{
"enable": false,
"name": "Google中文 >> Google英文",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/www\\.google\\.(?:co|com)\\.(?:hk|jp|sg|kr)\\/(?:s\\?|search\\?|webhp\\?|.*\\&safe=strict)(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://www.google.com/ncr#$1&hl=en-US&safe=off",
"group": "重定向"
},
{
"enable": false,
"name": "Bing中文 >> Bing英文",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https://cn\\.bing\\.com/search\\?(.*)",
"exclude": "^https://cn\\.bing\\.com.*ensearch=1.*",
"isFunction": false,
"action": "redirect",
"to": "https://cn.bing.com/search?$1&ensearch=1",
"group": "重定向",
"_exclude": {}
},
{
"enable": false,
"name": "FT中文网 >> 全文",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/www\\.ftchinese\\.com\\/story\\/(\\d+)(.*?)$",
"exclude": "^https?:\\/\\/www\\.ftchinese\\.com\\/story\\/(\\d+)\\/en",
"isFunction": false,
"action": "redirect",
"to": "http://www.ftchinese.com/story/$1?full=y",
"_exclude": {},
"group": "重定向"
},
{
"enable": true,
"name": "Zhihu去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/link\\.zhihu\\.com\\/\\?target=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "AMO去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/outgoing\\.(mozilla\\.org|prod\\.mozaws\\.net)\\/v\\d+/\\w+/(.+)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$2",
"group": "重定向"
},
{
"enable": true,
"name": "Pocket去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/getpocket\\.com\\/redirect\\?url=(.*)&formCheck=.*$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "百度网盘去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.+\\?url=((https?:\\/\\/)?pan\\.baidu\\.com\\/s\\/.+)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "Youtube去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/www\\.youtube\\.com\\/redirect\\?redir_token(.*)&q=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$2",
"group": "重定向"
},
{
"enable": false,
"name": "google fonts >> 极客族",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/fonts\\.googleapis\\.com\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://fonts.geekzu.org/$1",
"group": "重定向"
},
{
"enable": false,
"name": "google ajax >> 极客族",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/ajax\\.googleapis\\.com\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://gapis.geekzu.org/ajax/$1",
"group": "重定向"
},
{
"enable": false,
"name": "google themes >> 极客族",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/themes\\.googleusercontent\\.com\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://gapis.geekzu.org/g-themes/$1",
"group": "重定向"
},
{
"enable": true,
"name": "Wiki繁体 >> 简体",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/zh\\.wikipedia\\.org\\/(zh-tw|wiki)\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://zh.wikipedia.org/zh-cn/$2",
"group": "重定向"
},
{
"enable": false,
"name": "常用hosts网站 http >> https",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^http://(.*)?(youtube|google|wordpress|github|twitter|deviantart|facebook|pinterest|vimeo|feedly|flickr|quora|instagram|duckduckgo|telegram|archive|wikipedia)(\\.org|\\.com)",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://$1$2$3",
"group": "重定向"
},
{
"enable": true,
"name": "奶酪网站去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/www\\.runningcheese\\.com\\/go\\/\\?url=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "简书去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/links\\.jianshu\\.com\\/go\\?to=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "腾讯文档去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/docs\\.qq\\.com\\/scenario\\/link.\\html\\?url=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "蓝奏云失效链接修复",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/(.*).lanzous\\.com\\/(.*)",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://$1.lanzoui.com/$2",
"group": "重定向"
},
{
"enable": false,
"name": "Chrome 商店转到国内镜像",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/chrome\\.google\\.com\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://www.crxsoso.com/$1",
"group": "重定向"
},
{
"enable": true,
"name": "谷歌图标 转 google.cn",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/www\\.google\\.com\\/s2\\/favicons\\?domain\\=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://t1.gstatic.cn/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://$1",
"group": "重定向"
},
{
"enable": false,
"name": "谷歌学术 转 镜像",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/scholar\\.google\\.com\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://sc.panda321.com/$1",
"group": "重定向"
},
{
"enable": true,
"name": "谷歌重定向声明去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/www\\.google\\.com\\/url\\?q=(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "Gravatar头像转国内镜像",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/secure\\.gravatar\\.com\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://dn-qiniu-avatar.qbox.me/avatar/$1",
"group": "重定向"
},
{
"enable": false,
"name": "Github Raw 转 JsDeliver 1",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/raw\\.githubusercontent\\.com\\/(.*)(master|main|develop|dev\\/)(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://fastly.jsdelivr.net/gh/$1$3",
"group": "重定向"
},
{
"enable": false,
"name": "Github Raw 转 JsDeliver 2",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/fastly\\.jsdelivr.net\\/gh\\/(.*)@latest(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://fastly.jsdelivr.net/gh/$1$2",
"group": "重定向"
},
{
"enable": true,
"name": "Gitee去跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/gitee\\.com\\/link\\?target=(.*)$ ",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "$1",
"group": "重定向"
},
{
"enable": true,
"name": "RSS文字修复",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/ttrss\\.luobo\\.cf\\/lib\\/iconfont\\/(.*)$",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://cdnjs.cloudflare.com/ajax/libs/mdui/0.1.2/icons/material-icons/$1",
"group": "重定向"
},
{
"enable": true,
"name": "B站CDN重定向",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/upos-sz-(mirrorcos|estgoss02|estgoss|mirrorali02)\\.bilivideo\\.com\\/(.*)$",
"exclude": "",
"group": "重定向",
"isFunction": false,
"action": "redirect",
"to": "https://upos-tf-all-js.bilivideo.com/$2"
},
{
"enable": true,
"name": "B站MCDN转CDN",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/(.*)\\.mcdn\\.bilivideo\\.cn:[0-9]+\\/(.*)$",
"exclude": "",
"group": "重定向",
"isFunction": false,
"action": "redirect",
"to": "https://upos-tf-all-js.bilivideo.com/$2"
},
{
"enable": true,
"name": "BGM重定向",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?://(doujin.)?(?:bangumi|chii).(?:tv|in)/(.*$)",
"exclude": "",
"group": "重定向",
"isFunction": false,
"action": "redirect",
"to": "https://$1bgm.tv/$2"
},
{
"enable": true,
"name": "QQ非官方页面跳转",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^https?:\\/\\/c\\.pc\\.qq\\.com\\/middlem.html\\?pfurl=(.*)&pfuin=(.*)$",
"exclude": "",
"group": "重定向",
"isFunction": false,
"action": "redirect",
"to": "$1"
},
{
"enable": true,
"name": "reCaptcha重定向",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "^http(s?)://(?:www\\.|recaptcha\\.|)google\\.com/recaptcha/(.*)",
"exclude": "",
"isFunction": false,
"action": "redirect",
"to": "https://recaptcha.net/recaptcha/$2",
"group": "重定向"
}
],
"sendHeader": [
{
"enable": true,
"name": "sina图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.sinaimg\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://blog.sina.com.cn/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "isnowfy图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.isnowfy\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "微信图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.(qpic|qlogo)\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "waylee图片反盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.waylee\\.net.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "baidu图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*(bdimg|bdstatic|imgsrc\\.baidu)\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.baidu.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "QQ图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*photo\\.store\\.qq\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "tianya图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.(laibafile|tianya|tianyablog)\\.(cn|com).*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.tianya.cn/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "126图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*(ph|bimg)\\.126\\.net.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.163.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "chiphell图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*chiphell\\.com\\/data\\/attachment\\/.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "https://www.chiphell.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "pconline图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.pconline\\.com\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.pconline.com.cn/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "pixiv图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.pixiv\\.net.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "https://www.pixiv.net/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "poco图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.poco\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "autoimg图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.autoimg\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://club.autohome.com.cn/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "douban图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.douban\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.douban.com"
},
"group": "反盗链"
},
{
"enable": true,
"name": "jiandan图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*jdstatic\\.tankr\\.net.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://jandan.net/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "imanhua图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.mangafiles\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.imanhua.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "tudou图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.tudou\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "http://www.tudou.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "sina图片盗链-2",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*photo\\.sina\\.com\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "得到图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.(igetget|luojilab)\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "zol图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.(zol|zol-img)\\.com\\.cn.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "postimg图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.(postimg|postimage)\\.org.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "yahoo图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*blogs\\.yahoo\\.co\\.jp.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "cnbeta图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*img\\.cnbeta\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "imgur图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.imgur\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "quora图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.quora\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "tumblr图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.tumblr\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "wuyou图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.wuyou\\.net.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "baidu图片盗链-2",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*hiphotos\\.baidu\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "178图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*img.*\\.178\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "gtimg图片盗链",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\gtimg\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": ""
},
"group": "反盗链"
},
{
"enable": true,
"name": "economist免订阅",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.economist\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "https://www.google.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "wsj免订阅",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.wsj\\.(net|com).*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "https://www.facebook.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "ft免订阅",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.ft\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "https://www.google.com/"
},
"group": "反盗链"
},
{
"enable": true,
"name": "statista免订阅",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^https?:\\/\\/.*\\.(statista|statcdn)\\.com.*",
"exclude": "",
"isFunction": false,
"action": {
"name": "referer",
"value": "https://www.google.com"
},
"group": "反盗链"
},
{
"enable": false,
"name": "全局用户代理:iPhone",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16"
},
"group": "用户代理"
},
{
"enable": false,
"name": "全局用户代理:Firefox",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"group": "用户代理",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/99.0"
}
},
{
"enable": false,
"name": "全局用户代理:Chrome",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36"
},
"group": "用户代理"
},
{
"enable": false,
"name": "全局用户代理:Android",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Linux; U; Android 2.0; en-us; Droid Build/ESD20) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17"
},
"group": "用户代理"
},
{
"enable": false,
"name": "全局用户代理:Safari",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15"
},
"group": "用户代理"
},
{
"enable": false,
"name": "全局用户代理:iPad",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25"
},
"group": "用户代理"
},
{
"enable": false,
"name": "全局用户代理:Google爬虫",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
},
"group": "用户代理"
},
{
"enable": false,
"name": "全局用户代理:微信浏览器",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.901.400 QQBrowser/9.0.2524.400"
},
"group": "用户代理"
},
{
"enable": false,
"name": "视频网站改用 Safari UA",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://www\\.(douyu|yy|panda|iqiyi|huya|meipai|bilibili|youtube)(\\.com|\\.tv)/(.*)",
"exclude": "",
"group": "用户代理",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15"
}
},
{
"enable": false,
"name": "bika去跳转",
"ruleType": "modifySendHeader",
"matchType": "domain",
"pattern": "manhuabika.com",
"exclude": "",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16"
},
"group": "用户代理"
},
{
"enable": true,
"name": "改UA防掉登录",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "bgm\\.tv|bangumi\\.tv|chii\\.in",
"exclude": "",
"group": "用户代理",
"isFunction": false,
"action": {
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36"
}
}
],
"receiveHeader": [],
"receiveBody": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment