From d3983a603f4820c2081e2da30a69ff108e2f501d Mon Sep 17 00:00:00 2001 From: SmAsHeD <6071159+smashedr@users.noreply.github.com> Date: Tue, 30 Jun 2026 12:55:39 -0700 Subject: [PATCH] docs: Revert #2380 - locationWatcher (#2416) --- docs/guide/essentials/content-scripts.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/guide/essentials/content-scripts.md b/docs/guide/essentials/content-scripts.md index fe9a2188..8b353dd7 100644 --- a/docs/guide/essentials/content-scripts.md +++ b/docs/guide/essentials/content-scripts.md @@ -734,7 +734,6 @@ const watchPattern = new MatchPattern('*://*.youtube.com/watch*'); export default defineContentScript({ matches: ['*://*.youtube.com/*'], main(ctx) { - ctx.locationWatcher.run(); ctx.addEventListener(window, 'wxt:locationchange', ({ newUrl }) => { if (watchPattern.includes(newUrl)) mainWatch(ctx); });