Sommerwiesel / invidious

Invidious fork with customizations for invidious.nerdvpn.de
GNU Affero General Public License v3.0
21 stars 1 forks source link

Disconnect Reccomended Videos from Playlist Sidebar (so that I can block one with Ublock without blocking the other) #3

Closed MintMain21 closed 2 years ago

MintMain21 commented 2 years ago

This is a problem I have with the OG Invidious as well, but I feel like you're closer to what I want than the main repository is.

As you know, invidious has a wealth of customizable preferences that are saved client-side as browser cookies that control the homepage, the video quality, and whether comments and recommended videos appear. Because of the nature of browser cookies, these preferences can only be maintained in the standard browsing session and will not maintain in private browsing.

An alternative (at least as far as cosmetic preferences go) is to use Ublock Origin or similar content blockers to prevent specific cosmetic blocks such as comment sections and recommended videos from appearing at all in both private and standard browsing.

Unfortunately, because of how the code of the original Invidious is written there is no way to block the recommended videos in this manner without blocking other parts of the UI such as other sidebars (most notable the playlist sidebar) and videos as they would normally appear in a standard search or browsing a channel.

Something needs to be done behind the scenes to better separate these elements so that they can be blocked without compromising the larger interface.

Your fork comes close to what I want. When watching a video that's part of a playlist, I can block the recommended feed without loosing the playlist. However when watching a video that is not part of a larger playlist the sidebar defaults back to Recommended Videos, and blocking that would in turn block the playlist sidebar when watching content that belongs to a playlist.

Whatever can be done behind the scenes to make it possible to block recommendations without blocking the playlist sidebar would be very much appreciated.

MintMain21 commented 2 years ago

I have discovered the power of URL Parameters, specifically their handiness in extensions like Redirector, so the need to block Invidious Content via uBlock Origin is now satisfied.