mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix EventTarget for Safari
This commit is contained in:
parent
6e5c04fb04
commit
a8edd7cc39
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -55,7 +55,6 @@
|
||||
"dark-important.min.css": "B30D1AAD647103126D47740D67FFA472DE7B385420BB5E8050100BE759114A93",
|
||||
"dark-navbar.min.css": "A2D91F11127D165571ACCC53004EDDB118CEE110F9B020D7E0541E1C8FAEA478",
|
||||
"dark-schedule.min.js": "853C446547603F4F0425F19F09F73335C9EC451A790C1C07E5E5B88A09E9B453",
|
||||
"dark-slice-8.min.css": "219C7F3CC943F61328DF44F383F703FBCBEB5E663CABFCF39E17D19CDAD31B35",
|
||||
"dark-styles.min.js": "71AF9CBD74BD3F570515C46801AE66A52665DCEDE2F4941AA90D12A4F1381A6E",
|
||||
"debounce.min.js": "54D33E1273C1F3FE19550BF1844339C3D54D6B01DF8A39C3162D95B93B079CFA",
|
||||
"default-danmaku-settings.min.css": "D9942B184FEDA7B08CFA0C34920E97D7A83B81762DCBF757642EBB60F95FF25D",
|
||||
|
||||
BIN
min/bundle.zip
BIN
min/bundle.zip
Binary file not shown.
@ -76,6 +76,11 @@ Object.entries({
|
||||
})
|
||||
// GM4 polyfill end
|
||||
|
||||
// Safari EventTarget polyfill
|
||||
if (!('EventTarget' in window)) {
|
||||
window.EventTarget = Element
|
||||
}
|
||||
|
||||
import { logError, raiseEvent, loadLazyPanel, contentLoaded, fixed, isOffline, getUID, scriptVersion, getCsrf, formatCount, escapeFilename } from './utils'
|
||||
import { settings, loadSettings, settingsChangeHandlers } from './settings'
|
||||
import { Ajax, setupAjaxHook } from './ajax'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user