Skip to content

Releases: YouG-o/YouTube_No_Translation

v2.1.12: Fixes and improvements

05 Mar 17:27
Compare
Choose a tag to compare

🔧 Improvements

  • Better observer cleanup on page changes
  • Added support for playlist pages
  • New "Report an issue" button in popup

📝 Details

  1. Bug Fixes

    • Fixed title persistence after page change
    • Fixed audio translation initialization
    • Better player check for description updates
  2. Code Improvements

    • Optimized title attribute check placement
    • Added proper observer cleanup

v2.1.11: Improved title detection reliability

03 Mar 11:57
Compare
Choose a tag to compare

🚀 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

  1. Title detection

    • Use movie_player.getPlayerResponse() as primary source
    • More reliable than oembed API
    • Faster as no external API call needed
  2. 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

02 Mar 17:05
Compare
Choose a tag to compare

🚀 Optimizations

  • Optimize title updates to prevent unnecessary DOM mutations
  • Switch to player API for description fetching

📝 Details

  1. Title updates performance

    • Add title comparison check
    • Avoid duplicate updates
    • Reduce console logs spam
  2. 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

02 Mar 12:29
Compare
Choose a tag to compare

🎯 New Feature

  • Add subtitles translation prevention
  • Keep subtitles in videos original language

📝 Details

  1. Use ASR track to detect videos original language
  2. Force manual subtitles track in original language if available
  3. Disable subtitles if only ASR track exists
  4. Add subtitles toggle to popup menu
  5. 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

01 Mar 12:47
Compare
Choose a tag to compare

🐛 Fixes

  • Fix infinite title update loop in page title observer

📝 Details

  1. Add proper space normalization when comparing page titles
  2. Fix edge case where different spacing patterns caused continuous title updates

v2.0.70: Code organization improvements

24 Feb 06:12
Compare
Choose a tag to compare

🔧
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

  1. Move all DOM observers to observer.ts for better code organization
  2. Change description logs color to blue for better readability
  3. Update extension's description text for better clarity
  4. Apply single responsibility principle by isolating observer logic

v2.0.65: Fix description functionality

19 Feb 00:34
Compare
Choose a tag to compare

🐛 Fixes

  • Fix description replacement after extension renaming
  • Optimize description update timing

📝 Details

  1. Fix event name to match extension's new name (ynt -> nmt)
  2. Remove unnecessary delay and optimize description update process

v2.0.64: Optimize audio track handling

16 Feb 09:22
Compare
Choose a tag to compare

🔧 Improvements

  • Optimize audio track switching behavior
  • Skip audio track changes when already on original

📝 Details

  1. Check if current audio track is already original before attempting to change it
  2. Avoid unnecessary track reloading which could cause mini video stutters
  3. Add logging when track is already in original language

v2.0.63: Fix audio track initialization

15 Feb 20:11
Compare
Choose a tag to compare

🐛 Fixes

  • Fix audio track initialization timing issues
  • Ensure audio tracks are properly detected

📝 Details

  1. Wait for movie_player element to be available before injecting audio script
  2. This ensures YouTube player API is fully loaded when accessing audio tracks
  3. 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

15 Feb 15:22
Compare
Choose a tag to compare

🔧 Improvements

  • Keep title attribute when not replacing translated title
  • Remove redundant code patterns

📝 Details

  1. Instead of removing title attribute when not replacing a title, we now set it to current title to maintain hover functionality
  2. Small code optimizations to remove redundant patterns