gignupg / Movie-Subtitles

A Chrome Extension to add your own subtitles almost anywhere such as Disney, Netflix, YouTube and many more!
MIT License
34 stars 8 forks source link

font/text suggestion #8

Closed x247Shufflingx closed 1 year ago

x247Shufflingx commented 1 year ago

Could you create an option to add our own font and customize it more?

I'd really love to add a black outline/shadow to the white text!

Thanks!

gignupg commented 1 year ago

Hey @x247Shufflingx, thx for your suggestion! I'm not sure if this is something that would be useful to a lot of people. Also, I'd prefer to keep the UI as simple as possible. However, I've created a bookmarklet for you to change the font and add a shadow for yourself. Simply copy the following code and follow the instructions of this README.md file:

javascript: (function () {
    const subtitleText = document.getElementsByClassName('jss6')[0];
    subtitleText.style.fontFamily = 'monospace';
    subtitleText.style.textShadow = '2px 2px 5px red';
})();

This applies the monospace font with a red shadow. Feel free to adjust the shadow or font to your needs!