Plex Custom Background

Custom background image for Plex Web

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!)

/* ==UserStyle==
@name           Plex Custom Background
@namespace      github.com/Brawl345
@version        1.0.4
@description    Custom background image for Plex Web
@author         Brawl (https://github.com/Brawl345)
@license        Unlicense
@icon           https://app.plex.tv/desktop/favicon.ico
@preprocessor   default

@var text bg-custom "Background URL (include it with apostrophes inside url()):" "url()"
@var range opacity "Opacity (default 0.2);" [0.2, 0, 1, 0.01]
==/UserStyle== */
@-moz-document domain("app.plex.tv") {
    body {
        background-color: #000000de;
    }

    #plex > div[class|="FullPageBackground"] {
        opacity: var(--opacity);
        transition: opacity .5s;
    }
    
    #plex > div[class|="FullPageBackground"] > div canvas {
        display: none;
    }

    #plex > div[class|="FullPageBackground"] > div > div {
        background-image: var(--bg-custom) !important;
        background-size: cover !important;
        background-repeat: no-repeat;
    }
}