view nebula-subtitle-style.user.js @ 109:ef21ef445fc6

Cleanups - wrap everything in function and call them last - fix namespace and update url
author nanaya <me@nanaya.net>
date Sun, 15 Jan 2023 23:33:41 +0900
parents 2c4470b73ad9
children
line wrap: on
line source

// ==UserScript==
// @name        nebula subtitle style
// @namespace   https://nanaya.net
// @match       https://nebula.app/*
// @grant       GM_addStyle
// @version     1.0.1
// @author      nanaya
// @description Better subtitle styling
// @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/nebula-subtitle-style.user.js
// ==/UserScript==

'use strict';

/* global GM_addStyle */
GM_addStyle(`
  .vjs-text-track-cue * {
    background: transparent !important;
    text-shadow: 2px 2px 5px #000 !important;
  }
`);