Skip to content

Netflix Subtitle Font by hyper

Screenshot of Netflix Subtitle Font

Details

Authorhyper

LicenseMIT No Attribution

Categorynetflix

Created

Updated

Size2.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Set your own Netflix subtitle font.

Notes

You will need to set things like Shadow and Text Size using the integrated Netflix subtitle settings at https://www.netflix.com/settings/subtitles. This userstyle only provides settings not already included there.

Changelog

Release 1.1.1

  • Add font fallback setting
  • Change all settings except font family to use drop-downs

Release 1.1.0

  • Add font weight setting
  • Add font style setting

Release 1.0.0

  • Initial release

Source code

/*
 * MIT No Attribution
 *
 * Copyright (c) 2023 Hyper
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this
 * software and associated documentation files (the "Software"), to deal in the Software
 * without restriction, including without limitation the rights to use, copy, modify,
 * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

/* ==UserStyle==
@name           Netflix Subtitle Font
@namespace      userstyles.world/user/hyper
@version        1.1.2
@description    Set your own Netflix subtitle font.
@author         Hyper
@var            text subtitleFont "Font Family" Trebuchet MS
@var            select subtitleFallback "Fallback Font" ["sans-serif*", "serif", "monospace"]
@var            select subtitleWeight "Font Weight" ["normal*", "bold"]
@var            select subtitleStyle "Font Style" ["normal*", "italic"]
@homepageURL    https://userstyles.world/style/10249
@supportURL     https://www.netflix.com/settings/subtitles
@license        MIT-0
==/UserStyle== */

@-moz-document url-prefix("https://www.netflix.com/watch/"), url-prefix("https://www.netflix.com/settings/subtitles") {
    /* Set Subtitle Font */
    div.player-timedtext > div.player-timedtext-text-container > span > span {
        font-family: var(--subtitleFont), var(--subtitleFallback) !important;
        font-weight: var(--subtitleWeight) !important;
        font-style: var(--subtitleStyle) !important;
    }
}

Reviews

No reviews yet.