您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Styles the Netflix Subtitles to look like One Pace
// ==UserScript== // @name Netflix One Pace Font (ImpressBT) // @license MIT // @description Styles the Netflix Subtitles to look like One Pace // @namespace okthx // @author okthx // @version 1.0.1 // @homepage https://twitter.com/nathangamz // @match https://www.netflix.com/watch/* // @icon https://www.google.com/s2/favicons?sz=64&domain=netflix.com // @grant none // @noframes // ==/UserScript== (function() { 'use strict'; // Insert the Impress BT font into the page's head let fontLink = document.createElement("link"); fontLink.href = "https://fonts.cdnfonts.com/css/impress-bt"; fontLink.rel = "stylesheet"; document.head.appendChild(fontLink); // Apply custom style to Netflix subtitles let fontStyle = ` .player-timedtext-text-container * { font-family: 'Impress BT', sans-serif !important; font-size: 40px !important; font-weight: 500 !important; text-shadow: -3px 0px 0 #000, 3px 0px 0 #000, 0px -3px 0 #000, 0px 3px 0 #000, -3px -3px 0 #000, -3px 3px 0 #000, 3px -3px 0 #000, 3px 3px 0 #000, 0px 0px 6px rgba(0,0,0,0.4) !important; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; color: white !important; } `; let newStyle = document.createElement("style"); newStyle.innerHTML = fontStyle; document.head.appendChild(newStyle); })();