[Fixed]
Fixed Stale MPV Link on Navigation: Resolved a critical bug where the "Play with MPV" button link would not update after navigating to a new video from the homepage or suggestions sidebar. The script now reliably uses location.href to generate the MPV link, ensuring it always points to the currently active video.
Fixed Video Player Not Pausing: Addressed a major issue where the in-browser video player would only pause on a direct page load. The pausing logic was completely overhauled with a robust polling mechanism. The script now "insistently" tries to pause the video for up to 5 seconds after any navigation, guaranteeing the player is paused consistently, regardless of page loading times.
[Changed] & [Enhanced]
Universal Thumbnail Interception: Replaced the specific and brittle thumbnail selectors with a universal and highly robust selector (a[href*="/watch?v="]:has(img)). This allows the script to correctly intercept clicks on video thumbnails across the entire YouTube website, including the homepage, search results, channel pages, history, and the watch page suggestions sidebar.
Improved Fallback Context Menu: The Shift + Right-click context menu is no longer restricted from appearing on supported sites. It now functions as a universal fallback, allowing any link on any page to be opened with MPV.
Default Console Setting Tweaked: The default value for the "Run With Console" option in the script's settings has been changed from "yes" to "no" for new setups or after a configuration reset.