Plex Custom Background

Custom background image for Plex Web

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

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