CyTube Active Video Highlight

Adds a golden glow around the currently playing video in the queue list on CyTube.

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

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

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         CyTube Active Video Highlight
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Adds a golden glow around the currently playing video in the queue list on CyTube.
// @author       You
// @match        https://cytu.be/r/*
// @grant        GM_addStyle
// ==/UserScript==

(function () {
    'use strict';

    GM_addStyle(`
        li.queue_entry.queue_active {
            border: 2px solid gold !important;
            box-shadow: 0 0 12px rgba(255, 215, 0, 0.6), 0 0 4px rgba(255, 215, 0, 0.4);
            animation: glowPulse 1.5s ease-in-out infinite;
        }

        @keyframes glowPulse {
            0% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
            50% { box-shadow: 0 0 16px rgba(255, 215, 0, 0.8); }
            100% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
        }
    `);
})();