mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 12:37:05 +03:00
Another fix for button placement on new YouTube layout
This commit is contained in:
@@ -4,10 +4,10 @@ import Config from "../config";
|
|||||||
|
|
||||||
export function getControls(): HTMLElement {
|
export function getControls(): HTMLElement {
|
||||||
const controlsSelectors = [
|
const controlsSelectors = [
|
||||||
// YouTube
|
|
||||||
".ytp-right-controls",
|
|
||||||
// New YouTube (2025 April)
|
// New YouTube (2025 April)
|
||||||
".ytp-right-controls-right",
|
".ytp-right-controls-right",
|
||||||
|
// YouTube
|
||||||
|
".ytp-right-controls",
|
||||||
// Mobile YouTube
|
// Mobile YouTube
|
||||||
".player-controls-top",
|
".player-controls-top",
|
||||||
// Invidious/videojs video element's controls element
|
// Invidious/videojs video element's controls element
|
||||||
|
|||||||
Reference in New Issue
Block a user