Warning: fopen(/www/sites/greasyfork.cloud/index/store/forever/dd11fa852581720b2076cba0a39d25cd.html): failed to open stream: No space left on device in /www/sites/greasyfork.cloud/index/scriptsControl.php on line 127
Daily Motion Subtitle Size Increaser - 源代码

Greasy Fork

Daily Motion Subtitle Size Increaser

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

当前为 2016-02-13 提交的版本,查看 最新版本

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