Daily Motion Subtitle Size Increaser

Increase the size of subtitles on Dailymotion videos to 80px (size adjustable via code editing).

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Daily Motion Subtitle Size Increaser
// @version      1
// @description  Increase the size of subtitles on Dailymotion videos to 80px (size adjustable via code editing). 
// @author       Breann
// @include http://www.dailymotion.com/*
// @namespace https://greasyfork.org/users/30221
// ==/UserScript==

// window.addEventListener('load', function() {
    
(function() {
    'use strict';

var subs = document.getElementsByClassName('dmp_SubtitleView-text');
if (subs.length > 0) {
    subs[0].removeAttribute("style");
    subs[0].style.fontSize = "80px";
}
    return; 
    })();
    
 // }, false);