From 5183c7cc69ff9a79a799e3cc3360597fbff787e5 Mon Sep 17 00:00:00 2001 From: Lichthagel Date: Mon, 14 Oct 2024 17:49:21 +0200 Subject: [PATCH] refactor: Update MutationObserver target in index.user.ts --- src/index.user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.user.ts b/src/index.user.ts index 9e54a74..a699e46 100644 --- a/src/index.user.ts +++ b/src/index.user.ts @@ -18,7 +18,7 @@ const observer = new MutationObserver(() => { } }); -observer.observe(document.querySelector("head > title")!, { +observer.observe(document.head, { childList: true, subtree: true, });