Releases: YouG-o/YouTube_No_Translation
Releases · YouG-o/YouTube_No_Translation
v2.1.12: Fixes and improvements
🔧 Improvements
- Better observer cleanup on page changes
- Added support for playlist pages
- New "Report an issue" button in popup
📝 Details
-
Bug Fixes
- Fixed title persistence after page change
- Fixed audio translation initialization
- Better player check for description updates
-
Code Improvements
- Optimized title attribute check placement
- Added proper observer cleanup
v2.1.11: Improved title detection reliability
🚀 Improvements
- Switch to YouTube player API for main title detection
- Keep oembed API as fallback method
- Add better error handling with multiple fallback levels
📝 Details
-
Title detection
- Use movie_player.getPlayerResponse() as primary source
- More reliable than oembed API
- Faster as no external API call needed
-
Reliability
- Keep oembed API as fallback method
- Multiple fallback levels for maximum reliability
- Better error handling with graceful degradation
v2.1.10: Performance and stability improvements
🚀 Optimizations
- Optimize title updates to prevent unnecessary DOM mutations
- Switch to player API for description fetching
📝 Details
-
Title updates performance
- Add title comparison check
- Avoid duplicate updates
- Reduce console logs spam
-
Description fetching improvements
- Use YouTube player API directly
- Remove dependency on window.ytcfg
- More reliable and stable access
- Better performance with direct data access
v2.1.0 : Add subtitles translation prevention feature
🎯 New Feature
- Add subtitles translation prevention
- Keep subtitles in videos original language
📝 Details
- Use ASR track to detect videos original language
- Force manual subtitles track in original language if available
- Disable subtitles if only ASR track exists
- Add subtitles toggle to popup menu
- Update manifests to handle new subtitles script
ℹ️ How it works:
The extension uses the ASR (auto-generated) track to identify the original video language. If a manual subtitle track exists in that language, it is applied. If only the ASR track exists, subtitles are disabled to avoid low quality auto-generated captions.
v2.0.71: Fix infinite page title updates in some cases
🐛 Fixes
- Fix infinite title update loop in page title observer
📝 Details
- Add proper space normalization when comparing page titles
- Fix edge case where different spacing patterns caused continuous title updates
v2.0.70: Code organization improvements
🔧
Fix : Description was not replaced when navitating to new videos through SPA.
Improvements
- Centralize observers in dedicated file
- Update description log color for better visibility
- Update extension description text
📝 Details
- Move all DOM observers to observer.ts for better code organization
- Change description logs color to blue for better readability
- Update extension's description text for better clarity
- Apply single responsibility principle by isolating observer logic
v2.0.65: Fix description functionality
🐛 Fixes
- Fix description replacement after extension renaming
- Optimize description update timing
📝 Details
- Fix event name to match extension's new name (ynt -> nmt)
- Remove unnecessary delay and optimize description update process
v2.0.64: Optimize audio track handling
🔧 Improvements
- Optimize audio track switching behavior
- Skip audio track changes when already on original
📝 Details
- Check if current audio track is already original before attempting to change it
- Avoid unnecessary track reloading which could cause mini video stutters
- Add logging when track is already in original language
v2.0.63: Fix audio track initialization
🐛 Fixes
- Fix audio track initialization timing issues
- Ensure audio tracks are properly detected
📝 Details
- Wait for movie_player element to be available before injecting audio script
- This ensures YouTube player API is fully loaded when accessing audio tracks
- Fixes cases where audio tracks were not being found and therefore not restored to original language
v2.0.62: Keep title attribute and code optimizations
🔧 Improvements
- Keep title attribute when not replacing translated title
- Remove redundant code patterns
📝 Details
- Instead of removing title attribute when not replacing a title, we now set it to current title to maintain hover functionality
- Small code optimizations to remove redundant patterns