YouTube Layout Fix

Forces a multi-column grid, hides ads & unwanted shelves, fixes layout bugs on channel pages & search, adjusts text/spacing, and optionally hides Shorts.

< 脚本 YouTube Layout Fix 的反馈

评价:好评 - 脚本运行良好

§
发布于:2025-12-03

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

KaIakaua作者
§
发布于:2025-12-07
编辑于:2025-12-07

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.

§
发布于:2025-12-07

Thank you very much for your reply and your super script ;-)

发布留言

登录以发布留言。