Fixed an error in Brave browser
This commit is contained in:
parent
6e8f9b2f66
commit
ea8567937a
|
@ -19,23 +19,23 @@ import youtubeMusicHelper from "../../assets/javascripts/helpers/youtubeMusic.js
|
||||||
window.browser = window.browser || window.chrome;
|
window.browser = window.browser || window.chrome;
|
||||||
|
|
||||||
async function wholeInit() {
|
async function wholeInit() {
|
||||||
youtubeHelper.init()
|
await youtubeHelper.init()
|
||||||
youtubeMusicHelper.init()
|
await youtubeMusicHelper.init()
|
||||||
twitterHelper.init()
|
await twitterHelper.init()
|
||||||
instagramHelper.init()
|
await instagramHelper.init()
|
||||||
mapsHelper.init()
|
await mapsHelper.init()
|
||||||
searchHelper.init()
|
await searchHelper.init()
|
||||||
translateHelper.init()
|
await translateHelper.init()
|
||||||
mediumHelper.init()
|
await mediumHelper.init()
|
||||||
redditHelper.init()
|
await redditHelper.init()
|
||||||
wikipediaHelper.init()
|
await wikipediaHelper.init()
|
||||||
imgurHelper.init()
|
await imgurHelper.init()
|
||||||
tiktokHelper.init()
|
await tiktokHelper.init()
|
||||||
pixivHelper.init()
|
await pixivHelper.init()
|
||||||
sendTargetsHelper.init()
|
await sendTargetsHelper.init()
|
||||||
generalHelper.init()
|
await generalHelper.init()
|
||||||
}
|
}
|
||||||
wholeInit();
|
await wholeInit();
|
||||||
|
|
||||||
browser.storage.onChanged.addListener(wholeInit);
|
browser.storage.onChanged.addListener(wholeInit);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue