2 ms·
This is what I used, they have field `is-short`, https://github.com/epicseven-cup/remove-youtube-short/blob/main/src/content.ts#L3-L23 https://github.com/epicse
by I_like_tomato 8mo ago
This is what I used, they have field `is-short`, https://github.com/epicseven-cup/remove-youtube-short/blob/main/src/content.ts#L3-L23 https://github.com/epicseven-cup/remove-youtube-short/blob/m...
https://addons.mozilla.org/en-US/firefox/addon/remove-youtube-short/ https://addons.mozilla.org/en-US/firefox/addon/remove-youtub...
- susam 8mo agoThanks for sharing. I realised I have several userscripts I've written over time to tackle web browsing distractions. I found another one and this is probably the most effective for me because it hides Shorts at the CSS level. That means I don't need to rely on setTimeout(..., 1000) to catch elements that get inserted dynamically after the page loads. (function () { const css = ` #secondary { display: none } .ytd-rich-shelf-renderer { display: none } ` const style = document.createElement('style') style.textContent = css document.head.appendChild(style) })()