aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-05-07 23:56:55 -0400
committerAjay <[email protected]>2023-05-07 23:56:55 -0400
commit71dd4a97bfa6881555e1a0e3f799ddea0846ea81 (patch)
treeca401a5f48e9e48d4a602d878c10a8e047e15007
parentd8ca29a18b4cd4140c73c34ecaad415386bc5c9c (diff)
downloadSponsorBlock-71dd4a97bfa6881555e1a0e3f799ddea0846ea81.tar.gz
SponsorBlock-71dd4a97bfa6881555e1a0e3f799ddea0846ea81.zip
Fix SponsorBlock on latest YouTube layout
-rw-r--r--src/utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts
index 537fa3f3..82ffc61a 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -293,6 +293,7 @@ export default class Utils {
const selectors = [
"#player-container-id", // Mobile YouTube
"#movie_player",
+ ".html5-video-player", // May 2023 Card-Based YouTube Layout
"#c4-player", // Channel Trailer
"#player-container", // Preview on hover
"#main-panel.ytmusic-player-page", // YouTube music