aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils.ts
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-01-19 10:57:28 -0500
committerAjay <[email protected]>2022-01-19 10:57:28 -0500
commitbf735f47b039ca3ea0276541354207ab6c8e2f05 (patch)
treeccf6843835cc65a9cd6c0f3fd0f1cc74d6348c7c /src/utils.ts
parente4aa7efd3c72bc32050ee48d0cc7688a50b86383 (diff)
downloadSponsorBlock-bf735f47b039ca3ea0276541354207ab6c8e2f05.tar.gz
SponsorBlock-bf735f47b039ca3ea0276541354207ab6c8e2f05.zip
Fix reference node order to fix issue with player-container always being visible
Diffstat (limited to 'src/utils.ts')
-rw-r--r--src/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.ts b/src/utils.ts
index a2687f3d..29a3b382 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -331,9 +331,9 @@ export default class Utils {
findReferenceNode(): HTMLElement {
const selectors = [
- "#player-container",
"#movie_player",
"#c4-player", // Channel Trailer
+ "#player-container", // Preview on hover
"#main-panel.ytmusic-player-page", // YouTube music
"#player-container .video-js", // Invidious
".main-video-section > .video-container" // Cloudtube