Skip to content

Wallpapers Tanki Online by maketankibetter

Screenshot of Wallpapers Tanki Online

Details

Authormaketankibetter

LicenseNo License

Categorytankionline.com

Created

Updated

Size1.6 MB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Set custom wallpapers for Tanki Online battle loader!

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         Wallpapers
@description  This is additional extension for Tanki Online new interface. It changes wallpaper of battle joining screen and login screen.
@namespace    github.com/maketankibetter/mtb_uis/wallpapers
@version      1.8
@author       #MakeTankiBetter (sn0wman)
@preprocessor stylus
@var          checkbox newInterstitialLoader 'New in-between loader'  0
@var          select   wallpaper    'Select your wallpaper:'          {
                                    'No changes':                     'none',
                                    'Custom':                         'custom',
                                    'Classic':                        'classic',
                                    'Classic new':                    'classicNew',
                                    'Halloween 2021':                 'hw21',
                                    "Steampunk - part 1":             'SP1',
                                    "New Year 2022":                  'NY22',
                                    "Chinise New Year 2022":          'CNNY22',
                                    "Valentine's days 2022":          'vd22',
                                    "Iron days 2022":                 'lpj22',
                                    "Women's day 2022":               'wd22',
                                    "New supplies on Fool Day 2022":  'newsupplies',
                                    "Same as ↑ but with Gold Boxes":  'gbe3',
                                    'Cosmonautics day 2022':          'cosmonauticsD2022',
                                    'Dark Matter':                    'darkmatter',
                                    'Easter 2022':                    'e22',
                                    'May holidays 2022':              'mh22',
                                    'Summer Sport Games 2022':        'SSG22',
                                    'UFO day 2022':                   'ufoDay22',
                                    'Birthday! 13 years!':            '13years',
                                    'Hocus Pocus':                    'hp22',
                                    'Summer festival 2022':           'sf22',
                                    'Tankers day 2022':               'td22',
                                    'Circus day 2022':                'circus22',
                                    'An event with Gold Boxes':       'gbe1',
                                    'Wasp-Hammer at Forest HD':       'whfhd',
                                    'Juggernauts event 21.10.22':     'jgruw211022',
                                    'Halloween 2022':                 'hw22',
                                    'Zombie event 2022':              'hwz22',
                                    'Pyromaniac event 2022':          'prmnyk22',
                                    'Day of the Dead 2022':           'dotd22',
                                    'Arcade':                         'arcade',
                                    'Black Friday 2022':              'bf22',
                                    'Hornet-Railgun winter 2022':     'hr22',
                                    'New Year 2023':                  'ny23',
                                    'Winter event with Gold Boxes':   'gbe2',
                                    'Saint Patrick Day 2023':         'stp23',
                                    'Fool Day 2023':                  'XDD23',
                                    'Birthday! 14 years!':            '14years'
                                                                      }
@var          checkbox positioning  'Center image?'                   1
@var          checkbox imageSize    'Is the image for fullscreen?'    1
@var          text     customImage  'Paste your wallpaper code, that you got there: https://mtb.ooo/has/' '"   Paste here   "'
==/UserStyle== */
@-moz-document url-prefix("https://tankionline.com/play"), url-prefix("https://public-deploy1.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy2.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy3.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy4.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy5.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy6.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy7.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy8.test-eu.tankionline.com/browser-public/index.html"), url-prefix("https://public-deploy9.test-eu.tankionline.com/browser-public/index.html") {
    .Common-entranceBackground:before{
        content: '';
        position: fixed;
        inset: 0;
        background: var(--image);
        background-position: var(--position);
        background-size: var(--size);
        pointer-events: none;
    }
    if (newInterstitialLoader == 1) {
        body{
            --image: radial-gradient(50% 100% at 50% 100%, rgb(57, 86, 115) 0%, rgb(0, 25, 38) 100%);
        }
        .LobbyLoaderComponentStyle-container {
            background: var(--image);
            background-position: var(--position);
            background-size: var(--size);
        }
        .Common-background{
            background: var(--image);
            background-position: var(--position);
            background-size: var(--size);
        }
        .LobbyLoaderComponentStyle-container::after {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            backdrop-filter: var(--effects) blur(6px);
            z-index: -1;
        }
    }
    if (positioning != 1) {
        @css{
            body {
                --position: left top;
            }
        }
    }
    if positioning {
        @css{
            body {
                --position: center;
            }
        }
    }
    if (imageSize != 1) {
        @css{
            body {
                --size: unset;
            }
        }
    }
    if imageSize {
        @css{
            body {
                --size: cover;
            }
        }
    }
    if (wallpaper == 'none'){
        body {
            --image: unset;
        }
    }
    if (wallpaper == 'classic'){
        body {
            --image: url('///tankionline.com/play/static/images/background/background.282d8580.webp'), url('/browser-public/static/images/background/background.282d8580.webp') !important;
            --effects: brightness(0.75);
        }
    }
    if (wallpaper == 'classicNew'){
        body {
            --image: url('/play/static/images/background/background.4a9fffd6.webp'), url('/browser-public/static/images/background/background.4a9fffd6.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'hw21'){
        body {
            --image: url('/play/static/images/background/background_hw2021.5e63cb74.webp'), url('/browser-public/static/images/background/background_hw2021.5e63cb74.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'SP1'){
        body {
            --image: url('/play/static/images/background/background_redesign.84045669.webp'), url('/browser-public/static/images/background/background_redesign.84045669.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'NY22'){
        body {
            --image: url('/play/static/images/background/background_ny2022.e3b8a597.webp'), url('/browser-public/static/images/background/background_ny2022.e3b8a597.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'CNNY22'){
        body {
            --image: url('/play/static/images/background/chinese_ny.c663a455.webp'), url('/browser-public/static/images/background/chinese_ny.c663a455.webp');
            --effects: brightness(0.75);
        }
    }
    if (wallpaper == 'vd22'){
        body {
            --image: url('/play/static/images/background/valentines_day.3cb1d859.webp'), url('/browser-public/static/images/background/valentines_day.3cb1d859.webp');
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'lpj22'){
        body {
            --image: url('/play/static/images/background/iron_days.000444b1.webp'), url('/browser-public/static/images/background/iron_days.000444b1.webp');
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'wd22'){
        body {
            --image: url('/play/static/images/background/background_womens_day.107f108b.webp'), url('/browser-public/static/images/background/background_womens_day.107f108b.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'newsupplies'){
        body {
            --image: url('/play/static/images/background/background_1apr.6fbfe75d.webp'), url('/browser-public/static/images/background/background_1apr.6fbfe75d.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'gbe3'){
        body {
            --image: url('https://tankionline.com/ru/wp-content/uploads/2023/03/22-Randomizer-1.png') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'cosmonauticsD2022'){
        body {
            --image: url('/play/static/images/background/background_cosmonautics.3904a881.webp'), url('/browser-public/static/images/background/background_cosmonautics.3904a881.webp') !important;
            --effects: brightness(0.5);
        }
    }
    if (wallpaper == 'darkmatter'){
        body {
            --image: url('/play/static/images/background/background_dark_matter.85bbf59c.webp'), url('/browser-public/static/images/background/background_dark_matter.85bbf59c.webp') !important;
            --effects: brightness...

Reviews

No reviews yet.