Plex Custom Background

Custom background image for Plex Web

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

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