Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmingwang committed Feb 4, 2024
2 parents 648db32 + cc5c2ae commit 9a97f15
Showing 1 changed file with 69 additions and 32 deletions.
101 changes: 69 additions & 32 deletions public/rules.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,72 @@
[
{
"id": 1,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{ "header": "referer", "operation": "set", "value": "https://www.bilibili.com/" }
]
},
"condition": { "urlFilter" : "bilivideo" }
},
{
"id": 2,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{ "header": "referer", "operation": "set", "value": "https://y.qq.com/" }
]
{
"id": 1,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bilibili.com/"
},
"condition": { "urlFilter" : "y.qq.com" }
},
{
"id": 3,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{ "header": "referer", "operation": "set", "value": "https://www.bilibili.com/" }
]
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
}
]
},
"condition": { "urlFilter": "bilivideo" }
},
{
"id": 2,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://y.qq.com/"
}
]
},
"condition": { "urlFilter": "y.qq.com" }
},
{
"id": 3,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bilibili.com/"
}
]
},
"condition": { "urlFilter": "akamaized" }
},
{
"id": 4,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bilibili.com/"
},
"condition": { "urlFilter" : "akamaized" }
}
]
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
}
]
},
"condition": { "urlFilter": "akamaized.net" }
}
]

0 comments on commit 9a97f15

Please sign in to comment.