Skip to content

bg load changer by hopzy

Details

Authorhopzy

LicenseNo License

Categorytanki

Created

Updated

Size2.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

qweqwe

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         screen load changer
@description  wallpaper on battle joining screen
@namespace    github.com/hopzy1
@version      1.1
@author       hopzy
@preprocessor stylus
@var          select wallpaper      'Select your wallpaper:'   {
                                    'No changes':              'none',
                                    'Custom':                  'custom',
                                    'Classic':                 'classic',
                                    'Classic new':             'classicNew'
                                                          }
@var          checkbox center       'Center image?'                1
@var          checkbox cover        'Is the image for fullscreen?' 1
@var          text     customImage  'Paste your img code' '"   Paste here   "'
==/UserStyle== */
@-moz-document url-prefix("https://tankionline.com/play") {
    if (center != 1) {[data-style="ApplicationLoaderComponentStyle-container Common-background"], [data-style="FatalErrorScreenStyle-container Common-background"] {background-position: left top;}}
    if (cover != 1) {[data-style="ApplicationLoaderComponentStyle-container Common-background"], [data-style="FatalErrorScreenStyle-container Common-background"] {background-size: unset;}}
    if (wallpaper == 'classic'){
        [data-style="ApplicationLoaderComponentStyle-container Common-background"], [data-style="FatalErrorScreenStyle-container Common-background"] {
background-image: url('/play/static/images/background/background.282d8580.webp');
        }
    }
    if (wallpaper == 'classicNew'){
        [data-style="ApplicationLoaderComponentStyle-container Common-background"], [data-style="FatalErrorScreenStyle-container Common-background"] {
background-image: url('/play/static/images/background/background.4a9fffd6.webp');
        }
    }
    if (wallpaper == 'custom') {
        if customImage != "paste here" {
            [data-style="ApplicationLoaderComponentStyle-container Common-background"], [data-style="FatalErrorScreenStyle-container Common-background"] {
                background-image: url(''customImage'');
            }
        }
    }
}

Reviews

No reviews yet.