Skip to content

Instantly share code, notes, and snippets.

View Ryah's full-sized avatar
👻
Dead

Ryah Ryah

👻
Dead
View GitHub Profile
@Ryah
Ryah / customNetflixSubsForYoutube.js
Last active December 26, 2024 17:13 — forked from jcchikikomori/netflixSubForYoutube.js
Custom Netflix Youtube Subtitles (modified to optimize other videos that doesn't have line breaks)
// ==UserScript==
// @name YouTube Custom Netflix Subtitles
// @namespace http://userstyles.org
// @description The famous Netflix subtitltes with the drop shadow for YouTube. Added black outlines (lines 87-94) and fixed text-wrapping for subtitles without line breaks to prevent them running off screen.
// @author @Ryah
// @homepage https://gist.github.com/Ryah/b758ba5a76ccc91cb276107d8b7c0dfb#file-customnetflixsubsforyoutube-js
// @match https://www.youtube.com/watch*
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.githubusercontent.com/BrockA/2625891/raw/9c97aa67ff9c5d56be34a55ad6c18a314e5eb548/waitForKeyElements.js
// @run-at document-start