mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix bwp video detection (fix #3131)
This commit is contained in:
parent
13d72cb382
commit
08a94aa705
@ -73,7 +73,7 @@ export const isBwpVideo = async () => {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line no-underscore-dangle
|
// eslint-disable-next-line no-underscore-dangle
|
||||||
return unsafeWindow.__ENABLE_WASM_PLAYER__ as boolean || Boolean(dq('bwp-video'))
|
return unsafeWindow.__ENABLE_WASM_PLAYER__ as boolean || Boolean(dq('#bilibili-player bwp-video'))
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 等待一定时间
|
* 等待一定时间
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user