CSS selectors for identifying specific HTML elements on a YouTube page

interface Selectors {
    allowedEventTargets: string[];
    clickExcluded: string[];
    excludedRegions: string[];
    hoverExcluded: string[];
    thumbLink: string;
    videoElement: string;
    videoElementContainer: string;
}

Properties

allowedEventTargets: string[]

CSS selectors to explicitly allow known event targets for hovers/clicks. For example, preview overlays.

clickExcluded: string[]

CSS selectors for elements that should prevent side effects from clicks

excludedRegions: string[]

CSS selectors for regions to exclude from hover/click interactions

hoverExcluded: string[]

CSS selectors for elements that should prevent side effects from hovers

thumbLink: string

CSS selector for YouTube thumbnail links

videoElement: string

CSS selector for the video element on YouTube

videoElementContainer: string

CSS selector for the container of the video element