mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
add back-to-front logger
This somehow fix "did-fail-load" being called on song start, with in-app-plugin-activated
This commit is contained in:
@ -32,6 +32,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
// inject song-info provider
|
||||
const songInfoProviderPath = path.join(__dirname, "providers", "song-info-front.js")
|
||||
fileExists(songInfoProviderPath, require(songInfoProviderPath));
|
||||
|
||||
// inject front logger
|
||||
const loggerPath = path.join(__dirname, "providers", "logger.js")
|
||||
fileExists(loggerPath, require(loggerPath));
|
||||
|
||||
// Add action for reloading
|
||||
global.reload = () =>
|
||||
|
||||
Reference in New Issue
Block a user