You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code responsible for blocking shorts on the home page currently uses the is-shorts attribute on the ytd-rich-shelf-renderer element to detect the Shorts section. This however only works on desktop, since YouTube on mobile (m.youtube.com) does not use this attribute.
I did some poking around on the mobile home page and found that the grid-shelf-view-model on the mobile website seems to be used exclusively for the Shorts section. This could be used to block shorts on mobile as well by removing all grid-shelf-view-model elements.
If you are interested, I would be happy to make a pull request with such a change.
The text was updated successfully, but these errors were encountered:
The code responsible for blocking shorts on the home page currently uses the
is-shorts
attribute on theytd-rich-shelf-renderer
element to detect the Shorts section. This however only works on desktop, since YouTube on mobile (m.youtube.com) does not use this attribute.I did some poking around on the mobile home page and found that the
grid-shelf-view-model
on the mobile website seems to be used exclusively for the Shorts section. This could be used to block shorts on mobile as well by removing allgrid-shelf-view-model
elements.If you are interested, I would be happy to make a pull request with such a change.
The text was updated successfully, but these errors were encountered: