Plex Custom Background

Custom background image for Plex Web

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

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