Plex Custom Background

Custom background image for Plex Web

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

/* ==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;
    }
}