kwaschny / unwanted-twitch

Hide unwanted streams, games, categories and channels on: twitch.tv
https://kwaschny.net
MIT License
102 stars 13 forks source link

Blocked channels show in recommended channels in sidebar when "also filter followed channels" is off. #18

Closed Fyren closed 5 years ago

Fyren commented 5 years ago

I'm using 19.6.27 on Firefox nightly. In my console, I see the following: UTTV WARN: Sidebar items not found. Expected: div.side-nav div.tw-mg-b-2 .side-nav-card:not([data-uttv-hidden])

It looks like the selector at https://github.com/kwaschny/unwanted-twitch/blob/d1fb803226d9d3323cb4e3fe8a5df5b03bd31d87/scripts/directory.js#L1619 is broken. Checking the HTML from Twitch, it looks like maybe it should now be div.side-nav div.recommended-channels .side-nav-card:not([data-uttv-hidden]).

The code path for when filtering followed channels uses just div.side-nav .side-nav-card:not([data-uttv-hidden]), which works fine.