Pull request: 4795-bilibili
Updates #4795. * commit 'e6ebb8efef4430c48b06469ba566349bba3d9856': filtering: fmt filtering: add Bilibili and Weibo domains filtering: add Bilibili service
This commit is contained in:
commit
257d167002
|
@ -20,11 +20,16 @@ and this project adheres to
|
||||||
- Weaker cipher suites that use the CBC (cipher block chaining) mode of
|
- Weaker cipher suites that use the CBC (cipher block chaining) mode of
|
||||||
operation have been disabled ([#2993]).
|
operation have been disabled ([#2993]).
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Bilibili service blocking ([#4795]).
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
- Go 1.18 support. v0.109.0 will require at least Go 1.19 to build.
|
- Go 1.18 support. v0.109.0 will require at least Go 1.19 to build.
|
||||||
|
|
||||||
[#2993]: https://github.com/AdguardTeam/AdGuardHome/issues/2993
|
[#2993]: https://github.com/AdguardTeam/AdGuardHome/issues/2993
|
||||||
|
[#4795]: https://github.com/AdguardTeam/AdGuardHome/issues/4795
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -211,6 +211,10 @@ export const SERVICES = [
|
||||||
id: 'amazon',
|
id: 'amazon',
|
||||||
name: 'Amazon',
|
name: 'Amazon',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'bilibili',
|
||||||
|
name: 'Bilibili',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'cloudflare',
|
id: 'cloudflare',
|
||||||
name: 'CloudFlare',
|
name: 'CloudFlare',
|
||||||
|
|
|
@ -21,7 +21,10 @@ type svc struct {
|
||||||
// client/src/components/ui/Icons.js
|
// client/src/components/ui/Icons.js
|
||||||
var serviceRulesArray = []svc{{
|
var serviceRulesArray = []svc{{
|
||||||
name: "whatsapp",
|
name: "whatsapp",
|
||||||
rules: []string{"||whatsapp.net^", "||whatsapp.com^"},
|
rules: []string{
|
||||||
|
"||whatsapp.com^",
|
||||||
|
"||whatsapp.net^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "facebook",
|
name: "facebook",
|
||||||
rules: []string{
|
rules: []string{
|
||||||
|
@ -39,7 +42,12 @@ var serviceRulesArray = []svc{{
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "twitter",
|
name: "twitter",
|
||||||
rules: []string{"||twitter.com^", "||twttr.com^", "||t.co^", "||twimg.com^"},
|
rules: []string{
|
||||||
|
"||t.co^",
|
||||||
|
"||twimg.com^",
|
||||||
|
"||twitter.com^",
|
||||||
|
"||twttr.com^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "youtube",
|
name: "youtube",
|
||||||
rules: []string{
|
rules: []string{
|
||||||
|
@ -54,7 +62,12 @@ var serviceRulesArray = []svc{{
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "twitch",
|
name: "twitch",
|
||||||
rules: []string{"||twitch.tv^", "||ttvnw.net^", "||jtvnw.net^", "||twitchcdn.net^"},
|
rules: []string{
|
||||||
|
"||jtvnw.net^",
|
||||||
|
"||ttvnw.net^",
|
||||||
|
"||twitch.tv^",
|
||||||
|
"||twitchcdn.net^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "netflix",
|
name: "netflix",
|
||||||
rules: []string{
|
rules: []string{
|
||||||
|
@ -216,41 +229,73 @@ var serviceRulesArray = []svc{{
|
||||||
"||bytedance.map.fastly.net^",
|
"||bytedance.map.fastly.net^",
|
||||||
"||douyin.com^",
|
"||douyin.com^",
|
||||||
"||tiktokv.com^",
|
"||tiktokv.com^",
|
||||||
|
"||toutiaovod.com^",
|
||||||
|
"||douyincdn.com^",
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "vimeo",
|
name: "vimeo",
|
||||||
rules: []string{"||vimeo.com^", "||vimeocdn.com^", "*vod-adaptive.akamaized.net^"},
|
rules: []string{
|
||||||
|
"*vod-adaptive.akamaized.net^",
|
||||||
|
"||vimeo.com^",
|
||||||
|
"||vimeocdn.com^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "pinterest",
|
name: "pinterest",
|
||||||
rules: []string{"||pinterest.*^", "||pinimg.com^"},
|
rules: []string{
|
||||||
|
"||pinimg.com^",
|
||||||
|
"||pinterest.*^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "imgur",
|
name: "imgur",
|
||||||
rules: []string{"||imgur.com^"},
|
rules: []string{"||imgur.com^"},
|
||||||
}, {
|
}, {
|
||||||
name: "dailymotion",
|
name: "dailymotion",
|
||||||
rules: []string{"||dailymotion.com^", "||dm-event.net^", "||dmcdn.net^"},
|
rules: []string{
|
||||||
|
"||dailymotion.com^",
|
||||||
|
"||dm-event.net^",
|
||||||
|
"||dmcdn.net^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "qq",
|
name: "qq",
|
||||||
rules: []string{
|
rules: []string{
|
||||||
// Block qq.com and subdomains excluding WeChat's domains.
|
// Block qq.com and subdomains excluding WeChat's domains.
|
||||||
"||qq.com^$denyallow=wx.qq.com|weixin.qq.com",
|
"||qq.com^$denyallow=wx.qq.com|weixin.qq.com",
|
||||||
"||qqzaixian.com^",
|
"||qqzaixian.com^",
|
||||||
|
"||qq-video.cdn-go.cn^",
|
||||||
|
"||url.cn^",
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "wechat",
|
name: "wechat",
|
||||||
rules: []string{"||wechat.com^", "||weixin.qq.com^", "||wx.qq.com^"},
|
rules: []string{
|
||||||
|
"||wechat.com^",
|
||||||
|
"||weixin.qq.com.cn^",
|
||||||
|
"||weixin.qq.com^",
|
||||||
|
"||weixinbridge.com^",
|
||||||
|
"||wx.qq.com^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "viber",
|
name: "viber",
|
||||||
rules: []string{"||viber.com^"},
|
rules: []string{"||viber.com^"},
|
||||||
}, {
|
}, {
|
||||||
name: "weibo",
|
name: "weibo",
|
||||||
rules: []string{"||weibo.com^"},
|
rules: []string{
|
||||||
|
"||weibo.cn^",
|
||||||
|
"||weibo.com^",
|
||||||
|
"||weibocdn.com^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "9gag",
|
name: "9gag",
|
||||||
rules: []string{"||9cache.com^", "||9gag.com^"},
|
rules: []string{
|
||||||
|
"||9cache.com^",
|
||||||
|
"||9gag.com^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "telegram",
|
name: "telegram",
|
||||||
rules: []string{"||t.me^", "||telegram.me^", "||telegram.org^"},
|
rules: []string{
|
||||||
|
"||t.me^",
|
||||||
|
"||telegram.me^",
|
||||||
|
"||telegram.org^",
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
name: "disneyplus",
|
name: "disneyplus",
|
||||||
rules: []string{
|
rules: []string{
|
||||||
|
@ -284,6 +329,17 @@ var serviceRulesArray = []svc{{
|
||||||
"||tinder.com^",
|
"||tinder.com^",
|
||||||
"||tindersparks.com^",
|
"||tindersparks.com^",
|
||||||
},
|
},
|
||||||
|
}, {
|
||||||
|
name: "bilibili",
|
||||||
|
rules: []string{
|
||||||
|
"||biliapi.net^",
|
||||||
|
"||bilibili.com^",
|
||||||
|
"||biligame.com^",
|
||||||
|
"||bilivideo.cn^",
|
||||||
|
"||bilivideo.com^",
|
||||||
|
"||dreamcast.hk^",
|
||||||
|
"||hdslb.com^",
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
// convert array to map
|
// convert array to map
|
||||||
|
|
Loading…
Reference in New Issue