Greasy Fork is available in English.

niconico動画のタイトル移動するやつ

タイトルを動画下に移動します

// ==UserScript==
// @name         niconico動画のタイトル移動するやつ
// @namespace   https://www.amania-tools.com
// @version      1
// @description  タイトルを動画下に移動します
// @author       amania
// @match        https://www.nicovideo.jp/watch/*
// @grant      GM_addStyle
// @license GPLv3
// ==/UserScript==

(function() {
    'use strict';
    let breakpointWidth = 1392
    function setPlayerPanelHeight() {
        const playerPanel = document.querySelector('.MainContainer-playerPanel');
        if (playerPanel) {
            if (window.innerWidth <= breakpointWidth) {
                playerPanel.style.height = '67%';
            } else {
                playerPanel.style.height = '75%';
            }
        }
    }

    const watchAppContainerMain = document.querySelector('.HeaderContainer');
    const mainContainer = document.querySelector('.MainContainer');
    GM_addStyle(`
        .MainContainer-playerPanel {
            min-height: 67% !important;
            max-height: 75% !important;
            height: auto !important;
            padding-top:5%;
        }
        .MainContainer{
           padding-top:5%;
        }
    `);
    if (watchAppContainerMain && mainContainer) {
        mainContainer.appendChild(watchAppContainerMain);
    }

})();