mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add abp filter
This commit is contained in:
parent
77fe30e237
commit
1ddafe8fe8
10
src/style/simplify-home/simplify-home.abp.txt
Normal file
10
src/style/simplify-home/simplify-home.abp.txt
Normal file
@ -0,0 +1,10 @@
|
||||
[Adblock Plus 2.0]
|
||||
! Title: Bilibili Simplify Home
|
||||
! Homepage: https://github.com/the1812/Bilibili-Evolved/
|
||||
|
||||
*://s1.hdslb.com/*/sentry/*.js$domain=www.bilibili.com
|
||||
*://s1.hdslb.com/*/log/*.js$domain=www.bilibili.com
|
||||
*://s1.hdslb.com/*/international-home/*.js$domain=www.bilibili.com
|
||||
*://s1.hdslb.com/*/cm-sdk/*.js$domain=www.bilibili.com
|
||||
*://s1.hdslb.com/*/footer-v2/*.js$domain=www.bilibili.com
|
||||
*://www.bilibili.com/gentleman/polyfill.js$domain=www.bilibili.com
|
||||
@ -21,7 +21,7 @@
|
||||
}
|
||||
return _.get(json, 'data.list', [])
|
||||
}
|
||||
const getTranslation = async (id: number | string): Promise<string> => {
|
||||
const getTranslation = (id: number | string): Promise<string> => {
|
||||
return new Promise(resolve => {
|
||||
setTimeout(async () => {
|
||||
const json = await Ajax.getJson(`https://api.live.bilibili.com/av/v1/SuperChat/messageInfo?id=${id}`)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user