Skip to content

YouTube domtitles (subtitles on top) by danielzgtg

Screenshot of YouTube domtitles (subtitles on top)

Details

Authordanielzgtg

LicenseCC Zero

Categoryyoutube

Created

Updated

Code size683 B

Code checksum42c8406c

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

YouTube, domtitles on top, move subtitles to top, toptitles, surtitles, supertitles, Captitles, SurCaps, OpTrans

Notes

Moves YouTube videos' subtitles to the top of the video. I like this because gaming has trained me to ignore the bottom half of my eyes. It uses the previous 2% vertical offset but from the top. Horizontal dragging is left enabled, but you can edit the style for vertical repositioning. This prevents YouTube from moving the non-automatic domtitles back down every few seconds. You don't need any language learning extensions installed to use this userstyle.

Source code

/* ==UserStyle==
@name         YouTube domtitles (subtitles on top)
@version      20250404.04.44
@namespace    ?
@description  YouTube, domtitles on top, move subtitles to top, toptitles, surtitles, supertitles, Captitles, SurCaps, OpTrans
@license      CC Zero
==/UserStyle== */

@-moz-document domain("youtube.com") {
div.caption-window {
    /* "domtitles" name is from https://old.reddit.com/r/unpopularopinion/comments/r9ioh7/subtitles_should_be_at_the_top_of_the_screen/ */
    /* Does not require the Language Reactor extension that https://userstyles.world/style/12022/top-subtitles-for-lly requires */
    bottom: unset !important;
    top: 2% !important;
}
}

Reviews

No reviews yet.