Skip to content

Instantly share code, notes, and snippets.

@ddrpa
Last active May 3, 2022 09:05
Show Gist options
  • Save ddrpa/10cf3b48977e8d10f7ba4fe082b7a53d to your computer and use it in GitHub Desktop.
Save ddrpa/10cf3b48977e8d10f7ba4fe082b7a53d to your computer and use it in GitHub Desktop.
Open the URL Right Now

For Header Editor.

Will keeping update.

{
"request": [
{
"enable": true,
"name": "jianshu.com",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https:\\/\\/www.jianshu.com\\/go-wild\\?(.*)url=(.*)",
"exclude": "",
"group": "Open the F**king URL Right Now",
"isFunction": false,
"action": "redirect",
"to": "$2"
},
{
"enable": true,
"name": "juejin.cn",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https:\\/\\/link.juejin.cn\\/\\?target=(.*)",
"exclude": "",
"group": "Open the F**king URL Right Now",
"isFunction": false,
"action": "redirect",
"to": "$1"
},
{
"enable": true,
"name": "steamcommunity.com",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https:\\/\\/steamcommunity.com\\/linkfilter\\/\\?url=(.*)",
"exclude": "",
"group": "Open the F**king URL Right Now",
"isFunction": false,
"action": "redirect",
"to": "$1"
},
{
"enable": true,
"name": "infoq.cn",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https:\\/\\/(.*).infoq.cn\\/link\\?target=(.*)",
"exclude": "",
"group": "Open the F**king URL Right Now",
"isFunction": false,
"action": "redirect",
"to": "$2"
},
{
"enable": true,
"name": "zhihu.com",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https:\\/\\/link.zhihu.com\\/\\?target=(.*)",
"exclude": "",
"group": "Open the F**king URL Right Now",
"isFunction": false,
"action": "redirect",
"to": "$1"
}
],
"sendHeader": [],
"receiveHeader": [],
"receiveBody": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment