Add abp filter

This commit is contained in:
the1812 2019-10-16 14:01:10 +08:00
parent 77fe30e237
commit 1ddafe8fe8
2 changed files with 11 additions and 1 deletions

View 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

View File

@ -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}`)