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
Squashed commit of the following:
commit 5078750703
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 12:33:23 2024 -0500
add semicolon
commit 8dd10345db
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 12:30:50 2024 -0500
Abbreviate anon donors
commit 5b47e2e636
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 12:13:07 2024 -0500
Squashed commit of the following:
commit 42f6ef437a4054f2aed6467d8c85a8c1ec7f03c2
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 12:12:01 2024 -0500
Implement password removal. Fix button styling
commit 6503b2ac8460b148a17e42015a732b248048fa40
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 11:38:32 2024 -0500
Convert to password attributes to snake_case and add them to import/export.
commit 5f6f0e95e693a3ba8c2c59dc7311e30cd9af096d
Merge: 06edb5a e9b2af8
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 19:27:49 2024 -0500
Merge branch 'main' into feature/password
commit 06edb5a13151e6228723ecae409c75fea74ede37
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 19:26:54 2024 -0500
push progress on password feature
commit e9b2af8f87
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 11:19:29 2024 -0500
Add an option to shrink thumbnails
commit bb5f4331ef
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 11:08:16 2024 -0500
Add an option to remove the clip button
commit 615cfad300
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 10:43:28 2024 -0500
Fix the click on the "skip ad" button
commit f7cefd6161
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 10:31:11 2024 -0500
Fix the 'center contents' option
commit 016194e31d
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 10:24:25 2024 -0500
Fix subs page option for 'upcoming' videos. Fix toggles in the video player page.
commit b5b7895afe
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 09:55:16 2024 -0500
Disable copy/paste for code entry
commit 0bf3cc95fc
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Fri Dec 13 21:56:13 2024 -0500
Update manifest versions
commit 71dfef04cc
Merge: eb3ca2efe4e2bd
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Fri Dec 13 21:55:35 2024 -0500
Merge branch 'released'
commit eb3ca2e13e
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Fri Dec 13 21:55:06 2024 -0500
Fix permissions
commit 4cec2ebe85
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Fri Jun 7 17:40:18 2024 -0400
update manifest versions
commit 42f6ef437a4054f2aed6467d8c85a8c1ec7f03c2
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 12:12:01 2024 -0500
Implement password removal. Fix button styling
commit 6503b2ac8460b148a17e42015a732b248048fa40
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sun Dec 15 11:38:32 2024 -0500
Convert to password attributes to snake_case and add them to import/export.
commit 5f6f0e95e693a3ba8c2c59dc7311e30cd9af096d
Merge: 06edb5a e9b2af8
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 19:27:49 2024 -0500
Merge branch 'main' into feature/password
commit 06edb5a13151e6228723ecae409c75fea74ede37
Author: Lawrence Hook <lawrencehook@gmail.com>
Date: Sat Dec 14 19:26:54 2024 -0500
push progress on password feature