Dim watched videos on YouTube
What it does
This script will dim the thumbnails of watched videos on YouTube.
Why?
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.
Settings
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:
thumbnail_opacity (default: 0.3)
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.
Example
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 |
use_relative_opacity (default: true)
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.
min_watched (default: 0)
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.:
- if min_watched == 50:
- 100% watched = dimmed
- 75% watched = dimmed
- 50% watched = dimmed
- 25% watched = not dimmed
- 0% watched = not dimmed