Netflix CC 字幕样式(描边)

更改 Netflix CC 字幕样式

As of 2025-04-12. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Netflix CC 字幕样式(描边)
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  更改 Netflix CC 字幕样式
// @author       TGSAN
// @match        *://www.netflix.com/*
// @icon         https://www.google.cn/s2/favicons?sz=64&domain=netflix.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    let subtitleStyle = `
.player-timedtext span {
    color: rgba(255, 255, 255, 0.75);
    opacity: 1 !important;
    font-weight: normal !important;
    transform: scale(0.8);
    text-shadow: rgb(0, 0, 0) 2px 0px 0px, rgb(0, 0, 0) 0px -2px 0px, rgb(0, 0, 0) 0px 2px 0px, rgb(0, 0, 0) -2px 0px 0px, rgb(0, 0, 0) 1.5px 1.5px 1px, rgb(0, 0, 0) -1.5px 1.5px 1px, rgb(0, 0, 0) -1.5px -1.5px 1px, rgb(0, 0, 0) 1.5px -1.5px 1px;
}
`;
    let applySubtitleStyle = document.createElement("style");
    applySubtitleStyle.innerHTML = subtitleStyle;
    document.head.appendChild(applySubtitleStyle);
})();