Skip to content

Commit 97a853f

Browse files
committed
chore: improve for youtube
1 parent d8e02d1 commit 97a853f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content-script/site-adapters/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ export const config = {
120120
},
121121
youtube: {
122122
inputQuery: youtube.inputQuery,
123-
sidebarContainerQuery: ['#secondary'],
123+
sidebarContainerQuery: ['#secondary:not([style*="display: none"])'],
124124
appendContainerQuery: [],
125-
resultsContainerQuery: ['#secondary'],
125+
resultsContainerQuery: ['#secondary:not([style*="display: none"])'],
126126
action: {
127127
init: youtube.init,
128128
},

0 commit comments

Comments
 (0)