Show full upload dates in DD/MM/YYYY HH:MMam/pm format with smart queuing, retry, dynamic updates, and UI toggle
A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.
Fixed width prevents jitter or movement when toggling between "ON" and "OFF".inline-flex layout ensures it aligns naturally with YouTube's + Create button.Smooth transitions with hover effect.
🧠 Replaced setInterval with MutationObserver: Dynamically watches the DOM for changes, improving performance and reducing CPU usage.🔁 Added queue system: Limits concurrent API requests (max 3), avoiding request overload and potential rate-limiting.⚠️ Implemented retry mechanism: Automatically retries failed fetches up to 3 times with backoff delay.🧹 Memory-safe processing: Automatically cleans up stale processed entries older than 10 minutes.📅 Added UI toggle button: Fixed-position toggle to enable or disable the script in real time without refreshing the page.🔒 Improved video ID extraction: More accurate detection of video IDs from all types of YouTube URLs.🧼 Cleaner and modular codebase: Easier to maintain and extend in the future.
The "Full Date format for YouTube" userscript has been updated to address several issues that were causing it to fail with YouTube's current layout. This document explains the changes made and how they improve script functionality.
What changed: Added support for more URL formats, better fragment handling, and error handling to prevent script crashes if a URL is in an unexpected format.
What changed: Completely reworked selectors to match YouTube's current DOM structure and organized them into a more maintainable format.
What changed: Instead of blindly targeting the second span, the script now intelligently finds the best place to insert the date by looking for view count elements.
What changed: Added a debugging system that can be toggled on to help diagnose issues without cluttering the console during normal operation.
What changed: Added more reliable URL change detection to properly handle YouTube's single-page application navigation.
What changed: Added validation to check if the date is valid before proceeding, and wrapped the function in a try-catch to prevent script crashes.
What changed: Added multiple processing attempts at different times to catch elements as they load asynchronously.
holder.style.marginLeft = '4px'