Skip to content

Commit a1e36fe

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,13 @@ export const config = {
120120
},
121121
youtube: {
122122
inputQuery: youtube.inputQuery,
123-
sidebarContainerQuery: ['#secondary:not([style*="display: none"])'],
123+
sidebarContainerQuery: [
124+
'#secondary:not([style*="display: none"]):not(.ytd-two-column-browse-results-renderer)',
125+
],
124126
appendContainerQuery: [],
125-
resultsContainerQuery: ['#secondary:not([style*="display: none"])'],
127+
resultsContainerQuery: [
128+
'#secondary:not([style*="display: none"]):not(.ytd-two-column-browse-results-renderer)',
129+
],
126130
action: {
127131
init: youtube.init,
128132
},

0 commit comments

Comments
 (0)