🔧 Title Management
- Replace polling mechanism with MutationObserver for page title
- Improve node handling for other titles with CSS visibility
- Clean up observers when switching videos
📝 Details
-
Page Title Updates
- Remove waitForLoad polling approach
- Add MutationObserver to watch title changes
- Clean up observer between page transitions
- Restore original title when YouTube changes it
-
Other Titles
- Add observer for YouTube added text nodes
- Keep original title visible through CSS
- Handle multiple text nodes cleanly
- Match main title handling approach