Skip to content

Commit

Permalink
Bugfix: +Bilibivideo.cn host, limit qq.com host to y.qq.host
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmingwang committed Oct 31, 2022
1 parent 9eff5de commit b5e8173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"*://*.bilibili.com/*",
"*://*.hdslb.com/*",
"*://*.cgvideo.com/*",
"*://*.qq.com/*"
"*://*.y.qq.com/*",
"*://*.bilivideo.cn/*"
],
"declarative_net_request": {
"rule_resources": [{
Expand Down
4 changes: 2 additions & 2 deletions public/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{ "header": "referer", "operation": "set", "value": "https://www.bilibili.com/" }
]
},
"condition": { "urlFilter" : "bilivideo.com" }
"condition": { "urlFilter" : "bilivideo" }
},
{
"id": 2,
Expand All @@ -19,6 +19,6 @@
{ "header": "referer", "operation": "set", "value": "https://y.qq.com/" }
]
},
"condition": { "urlFilter" : "qq.com" }
"condition": { "urlFilter" : "y.qq.com" }
}
]

0 comments on commit b5e8173

Please sign in to comment.