fix: adjust conditions for skipping startShadowDOMStyleInjection()

This commit is contained in:
Hakadao
2024-09-14 12:33:03 +08:00
parent 6e048e59d7
commit c74a56de6f

View File

@@ -213,7 +213,9 @@ function injectApp() {
}
function startShadowDOMStyleInjection() {
if (isHomePage() && !isSupportedPages())
if (isHomePage())
return
if (!isSupportedPages())
return
// Create a MutationObserver to watch for Shadow DOM additions