Repository navigation
Conversation
Adds three independent switches under Appearance -> Comments tools. Search hides non-matching threads and restores them on clear; the other two drive YouTube's own sort menu and reply buttons.
chirag127
marked this pull request as ready for review
November 18, 2026 10:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #4084 — search, newest-first ordering and expand-all. The translate bullet from the issue is not included.
What this adds
Three independent switches under Appearance → Comments tools:
display:none) and restored when the query is cleared. Escape clears it.Nothing is written to YouTube: search only hides loaded threads, and the other two click controls YouTube already provides.
Why this shape
3 / 20rather than pretending to search all 2.4 million comments.newest|最新|nuevos|récent|neueste|新しい|최신); if no item matches, nothing is clicked.Where it lives
js&css/web-accessible/www.youtube.com/features/comments-tools.jsmenu/skeleton-parts/comments-tools.js_locales/en/messages.jsonmanifest.json,js&css/extension/init.js,menu/index.htmltests/unit/comments-tools.test.jsNo existing feature file is edited. All three switches default off.
Verification
Live on
youtube.com/watch?v=dQw4w9WgXcQin Chrome 157, comments loaded (20 threads):Not tested live
Conflicts
No open PR touches these new files. There are five open PRs around comments, but they change the comments sidebar, comment menus and Shorts comment overlay; none adds a filter or drives the sort menu. Shared edits are one line each.