Copy the JavaScript code and paste it into your custom JS Section
setInterval(() => { document.querySelectorAll('ytd-rich-section-renderer').forEach((section) => { const title = section.querySelector('span#title'); if (title && (title.innerText.includes("Shorts") || title.innerText.includes("Playables"))) { section.style.display = 'none'; } }); }, 1000);