Skip to content

Fix YouTube SPA navigation detection for comment search UI - #5

Merged
octopols merged 1 commit into
mainfrom
bugfix/comment-search-ui-spa-navigation
Oct 19, 2025
Merged

octopols merged 1 commit into
mainfrom
bugfix/comment-search-ui-spa-navigation

Conversation

@octopols

Copy link
Copy Markdown
Owner

Description

Fixes extension UI not appearing when navigating from YouTube home page to video pages using Single Page Application routing. Previously, the extension only worked when directly loading or refreshing video pages.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

Changes Made

  • Update content script to run on all YouTube pages instead of just /watch URLs
  • Add History API interception to detect navigation changes
  • Initialize extension UI when navigating to video pages via SPA routing

Testing Done

  • Tested on multiple YouTube videos
  • Verified search functionality works
  • Verified no console errors
  • Tested navigation from home page to videos

Code Quality

  • Code follows project standards (2-space indentation, semicolons)
  • manifest.json updated if needed

@octopols octopols added this to the Beta Release v3.0.1 milestone Oct 19, 2025
@octopols octopols added the bug Something isn't working label Oct 19, 2025
@octopols octopols linked an issue Oct 19, 2025 that may be closed by this pull request
- Update content script to run on all YouTube pages instead of just /watch URLs
- Add History API interception to detect navigation changes
- Initialize extension UI when navigating to video pages via SPA routing
@octopols
octopols force-pushed the bugfix/comment-search-ui-spa-navigation branch from c88a4b4 to 7013d2a Compare October 19, 2025 11:46
@octopols octopols self-assigned this Oct 19, 2025
@octopols
octopols merged commit 430055f into main Oct 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Comment Search UI Fails to Load on YouTube SPA Navigation

1 participant