annotate nebula-subtitle-style.user.js @ 93:5510cbaabcac

Add youtube shorts redirector
author nanaya <me@nanaya.pro>
date Tue, 20 Sep 2022 16:00:47 +0900
parents dac3ba0cd960
children 2c4470b73ad9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
1 // ==UserScript==
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
2 // @name nebula subtitle style
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
3 // @namespace https://myconan.net
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
4 // @match https://nebula.app/*
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
5 // @grant GM_addStyle
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
6 // @version 1.0.1
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
7 // @author nanaya
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
8 // @description Better subtitle styling
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
9 // @downloadURL https://hg.myconan.net/ec-userscripts/raw-file/tip/nebula-subtitle-style.user.js
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
10 // ==/UserScript==
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
11
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
12 /* global GM_addStyle */
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
13 GM_addStyle(`
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
14 .vjs-text-track-cue * {
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
15 background: transparent !important;
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
16 text-shadow: 2px 2px 5px #000 !important;
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
17 }
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
18 `)