[扩展] Header Editor - 网址重定向/CN Bing跳转WWW

虽然必应搜索页面提供了国际版切换,不过你正常输入 WWW 访问都会强制跳转到 CN 版。现在可以通过「Header Editor」扩展插件,支持修改请求头和响应头、重定向请求、取消请求。

20230214-8

扩展插件安装好后,把下面的规则保存为 json 文件,然后在设置里面导入就可以了。

{
"request": [
{
"enable": true,
"name": "bing-cn-to-www",
"ruleType": "redirect",
"matchType": "prefix",
"pattern": "https://cn.bing.com",
"exclude": "",
"group": "bing-redirect",
"isFunction": false,
"action": "redirect",
"to": "https://www.bing.com"
}
],
"sendHeader": [
{
"enable": true,
"name": "bing",
"ruleType": "modifySendHeader",
"matchType": "regexp",
"pattern": "^http(s?)://www\\.bing\\.com/(.*)",
"exclude": "",
"group": "bing-direct",
"isFunction": false,
"action": {
"name": "x-forwarded-for",
"value": "8.8.8.8"
}
}
],
"receiveHeader": [],
"receiveBody": []
}

下载地址:
https://microsoftedge.microsoft.com/addons/detail/header-editor/afopnekiinpekooejpchnkgfffaeceko