logoalt Hacker News

bryanhogantoday at 1:17 AM1 replyview on HN

One of the problems with YouTube seach is that they also stop showing you what you searched for after a couple of videos, instead you get the same crap you find on the homepage, which is bewildering.


Replies

bilegeektoday at 2:18 AM

Can't remember where I got them, but there's some uBO rules that really help on that front:

  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your search/i))
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your searches/i))
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/From related searches/i))
  youtube.com##ytd-shelf-renderer:has-text(/People also watched/)
  youtube.com###contents > ytd-shelf-renderer:has-text(/For you/)
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Watch again/i))
  youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope:has(span:has-text(/Searches related to/i))
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Learn while you\'re at home/i))
  youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope
  youtube.com###secondary > .ytd-two-column-search-results-renderer
  youtube.com###contents > .ytd-secondary-search-container-renderer.style-scope
  youtube.com##ytd-shelf-renderer:has-text(/Previously watched/)
Also got some other rules from https://news.ycombinator.com/item?id=44332976

This all shouldn't be necessary, but alas...