Created
March 7, 2023 06:08
-
-
Save beebird/4592f2dfa0d277924a5ddf852c1fd714 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"request": [ | |
{ | |
"enable": true, | |
"name": "cn bing to www bing", | |
"ruleType": "redirect", | |
"matchType": "prefix", | |
"pattern": "https://cn.bing.com", | |
"exclude": "", | |
"group": "bing", | |
"isFunction": false, | |
"action": "redirect", | |
"to": "https://www.bing.com" | |
} | |
] | |
"sendHeader": [ | |
{ | |
"enable": true, | |
"name": "bing change x-forwarded-for", | |
"ruleType": "modifySendHeader", | |
"matchType": "regexp", | |
"pattern": "^http(s?)://www\\.bing\\.com/(.*)", | |
"exclude": "", | |
"group": "bing", | |
"isFunction": false, | |
"action": { | |
"name": "x-forwarded-for", | |
"value": "8.8.8.8" | |
} | |
}, | |
{ | |
"enable": true, | |
"name": "bing change ua", | |
"ruleType": "modifySendHeader", | |
"matchType": "regexp", | |
"pattern": "^http(s?)://www\\.bing\\.com/(.*)", | |
"exclude": "", | |
"group": "bing", | |
"isFunction": false, | |
"action": { | |
"name": "user-agent", | |
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.27" | |
} | |
} | |
], | |
"receiveHeader": [], | |
"receiveBody": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment