diff --git a/src/render/CategoryPill.tsx b/src/render/CategoryPill.tsx index fc20c6db..266796d1 100644 --- a/src/render/CategoryPill.tsx +++ b/src/render/CategoryPill.tsx @@ -23,8 +23,8 @@ export class CategoryPill { vote: (type: number, UUID: SegmentUUID, category?: Category) => Promise): Promise { const referenceNode = await GenericUtils.wait(() => - // YouTube, Mobile YouTube, Invidious - document.querySelector(".ytd-video-primary-info-renderer.title, .slim-video-information-title, #player-container + .h-box > h1") as HTMLElement); + // New YouTube Title, YouTube, Mobile YouTube, Invidious + document.querySelector("#title h1, .ytd-video-primary-info-renderer.title, .slim-video-information-title, #player-container + .h-box > h1") as HTMLElement); if (referenceNode && !referenceNode.contains(this.container)) { this.container = document.createElement('span');