您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Dim the thumbnails of watched videos on YouTube
This script will dim the thumbnails of watched videos on YouTube.
This makes it easier to identify videos that you haven't watched yet. Especially on a channel that you watch frequently, it can be hard to parse through all the videos to find the ones you haven't seen. This makes those unwatched videos stand out while the watched videos fade into the background.
This script uses GM_config to manage settings. You can access the settings by clicking the "Open Settings" button in the Userscript manager (see screenshot). The following settings are available:
This is the opacity of the thumbnail when the video has been watched. Values must be a decimal between 0-1. Lower values result in more transparent/faded thumbnails. If relative opacity is enabled, the opacity of a video will be determined by this value + the percentage of the video watched. i.e.: fully watched videos will be set to this opacity, but partially watched videos will be less transparent.
With thumbnail_opacity = 0.5
:
use_relative_opacity |
watched percentage |
resulting opacity |
---|---|---|
true | 100% | 0.5 |
true | 75% | 0.625 |
true | 50% | 0.75 |
true | 25% | 0.875 |
true | 0% | 1.0 |
false | 100% | 0.5 |
false | 75% | 0.5 |
false | 50% | 0.5 |
false | 25% | 0.5 |
false | 0% | 1.0 |
If true, enables relative opacity, and thumbnail opacity will be determined relative to the video watch time. If false, the thumbnail opacity will be set to a fixed value for all watched videos, regardless of how much of the video has been watched.
The minimum percentage of the video that must be watched for the thumbnail to be dimmed. If the video has been watched less than this percentage, the thumbnail will be set to full opacity. e.g.: