This script automatically unmutes the video previews on the YouTube homepage when you hover over them.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Added explicit @run-at metadata.
@run-at
Fixed an issue that caused the script to fail when the localStorage volume data has expired or is unset/missing.
Included search results/page in addition to the YouTube homepage to unmute.
Updated matched URLNo need for youtube music to be included in this stuff.
Added @noframes. The script was being unintentially loaded into iFrames.
Fix the script not running if value in local storage has not been set. It seems like YouTube does not set local storage for volume settings as aggressively as I assumed. Now the script will just assume unmuting is the desired action if local storage failed to parse for any reason.
Update to match YouTube api event changes.