Jagan ac66e7ebd7 fix(sidebar): correct mapping of sidebar section (#186)
Youtube changed the structure of the sidebar, this caused several toggle target issues in the extension.
-> Hiding you/library removed the section contents but left a small empty container.
-> Hiding other sections hid the wrong ones. Explore hid you/library completely, more from youtube hid explore, settings hid more from youtube. And couldn't hide settings at all.

This commit updates the CSS to match the new DOM structure.

-> Replaced nth-child with nth-of type
-> Realigned indexes to match new structure.
  - `remove_sub_section` targets the 2nd section (Subscriptions)
  - `remove_quick_links_section` targets the 3rd section (You / Library)
  - `remove_explore_section` targets the 4th section (Explore)
  - `remove_more_section` targets the 5th section (More from YouTube)
  - `remove_settings_section` targets the 6th section (Settings)
  - `remove_footer_section` still hides `#guide-renderer > #footer`
-> Modified the order of the buttons in src/content-script/main.css to match the order in the sidebar.

Resolves: #185
2025-12-23 15:51:09 -05:00
2023-03-20 21:47:11 -04:00
2024-05-09 00:51:55 -04:00
2020-02-28 20:35:59 -05:00
2024-05-09 00:51:55 -04:00
2024-12-17 19:38:40 -05:00
2023-02-19 13:52:59 -05:00

RYS — Remove YouTube Suggestions

A Browser Extension


What it does

This extension aims to make YouTube less engaging and more configurable. It provides options to hide recommended videos and to customize the user interface.


Feedback and Support

Leave a review!

Completely free. Donations welcome — Paypal


Why I made it

Motivated by an attempt to stymie the YouTube rabbit hole.

The YouTube recommendation algorithm optimizes for the most engaging videos, regardless of whether or not you are interested. Persistent exposure to these suggestions can result in a waste of your time. Download this add-on and remove unwanted suggestions as you please.

Available for download at the links below:


Development

This project is 100% open source. Created and maintained by me, Lawrence Hook.

Have a feature request or found a bug? Feel free to create a Github issue, submit a PR, or contact me at lawrencehook@gmail.com.

The following commands will set up a Firefox dev environment.

git clone https://github.com/lawrencehook/remove-youtube-suggestions.git
cd remove-youtube-suggestions/src
npm install --global web-ext
web-ext run
S
Description
A browser extension that lets you hide recommendations, customize the interface, and take control of your YouTube experience.
Readme MPL-2.0
8.8 MiB
Languages
JavaScript 73%
CSS 17.8%
HTML 8.7%
Shell 0.5%