Forces a multi-column grid, hides ads & unwanted shelves, fixes layout bugs on channel pages & search, adjusts text/spacing, and optionally hides Shorts.
As in the lines of code?
If you go to the end of the code, at around line 700 or so, you will see:
" // ===================================================================
// === OPTIONAL FEATURE: HIDE UNWANTED SHELVES & SHORTS CONTENT
// ===================================================================
const hideUnwantedContent = true;
"
by changing that true to a false, or false to a true, you can show or hide the "shorts" button on the left side of the page.
Or should at least, since youtube recently changed the layout again I will check again if its broken now and needs updating.
On the other hand right after that there is this other one:
"
// ===================================================================
// === OPTIONAL FEATURE: HIDE "Shorts" FILTER CHIP IN SEARCH
// ===================================================================
const hideSearchShortsChip = true;
"
still around line 700, same idea with true to false, or false to true. It should remove the "shorts" button on the "header" of the search page, the button beween "Todo" and "Videos".
Now I know that one is broken, I will see if I can fix it.
Thank you very much for your reply and your super script ;-)
Hello,
I just would like to know where exactly the shorts are hidden in the YouTube pages with your script please ?
Thank you for your answer.
Google Chrome and Mozilla Firefox Browsers with Tampermonkey or Violentmonkey