Daily Motion Subtitle Size Increaser

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);