mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 21:17:20 +03:00
Fix reference node order to fix issue with player-container always being visible
This commit is contained in:
@@ -331,9 +331,9 @@ export default class Utils {
|
|||||||
|
|
||||||
findReferenceNode(): HTMLElement {
|
findReferenceNode(): HTMLElement {
|
||||||
const selectors = [
|
const selectors = [
|
||||||
"#player-container",
|
|
||||||
"#movie_player",
|
"#movie_player",
|
||||||
"#c4-player", // Channel Trailer
|
"#c4-player", // Channel Trailer
|
||||||
|
"#player-container", // Preview on hover
|
||||||
"#main-panel.ytmusic-player-page", // YouTube music
|
"#main-panel.ytmusic-player-page", // YouTube music
|
||||||
"#player-container .video-js", // Invidious
|
"#player-container .video-js", // Invidious
|
||||||
".main-video-section > .video-container" // Cloudtube
|
".main-video-section > .video-container" // Cloudtube
|
||||||
|
|||||||
Reference in New Issue
Block a user