xMegaDrive Dark Theme

Dark theme for xMegaDrive with sponsor ads removed

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

You will need to install an extension such as Tampermonkey or Violentmonkey to install this 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!)

// ==UserScript==
// @name         xMegaDrive Dark Theme
// @namespace    https://greasyfork.org/users/OlegAss
// @version      1.0
// @description  Dark theme for xMegaDrive with sponsor ads removed
// @author       Oleg Ass
// @match        *://*.xmegadrive.com/*
// @grant        GM_addStyle
// @run-at       document-start
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`
        body, html {
            background: #121212 !important;
            color: #e0e0e0 !important;
        }

        .sponsor {
            display: none !important;
        }

        .top-links, .container, .header, nav, .navigation, .footer, .footer-wrap, .footer-margin {
            background-color: #181818 !important;
            border-color: #333333 !important;
            background-image: none !important;
        }

        .header .logo img {
            filter: invert(1) hue-rotate(180deg) brightness(1.2) !important;
        }

        .primary, .secondary, .member-links ul {
            background-color: #181818 !important;
        }

        .content, .box, .tab-content, .block-video, .video-info, .info-holder, .block-details, .block-user, .related-videos, .list-comments, .block-new-comment {
            background-color: #1e1e1e !important;
            border-color: #333333 !important;
            color: #cccccc !important;
        }

        .block-details .info .item, .info .item {
            color: #cccccc !important;
        }

        .headline h1, .title, h1, h2, h3, h4, strong {
            color: #ffffff !important;
        }

        a {
            color: #5dade2 !important;
        }
        a:hover {
            color: #85c1e9 !important;
        }

        .info .item a {
            background-color: #2a2a2a !important;
            border: 1px solid #444 !important;
            color: #85c1e9 !important;
            padding: 2px 6px;
            border-radius: 3px;
        }
        .info .item a:hover {
            background-color: #3a3a3a !important;
        }

        .list-videos .item {
            background-color: #242424 !important;
            border: 1px solid #3a3a3a !important;
            border-radius: 4px;
        }
        .item .duration, .item .views, .item .added {
            color: #aaaaaa !important;
        }

        .tabs-menu ul li a, .submit, .button, .textfield, .textarea, input[type="text"], .search-text input {
            background-color: #2a2a2a !important;
            color: #ffffff !important;
            border: 1px solid #444444 !important;
        }
        .tabs-menu ul li a:hover, .submit:hover, .button:hover {
            background-color: #3a3a3a !important;
        }

        .tabs-menu ul li a.active {
            background-color: #1e1e1e !important;
            border-bottom-color: #1e1e1e !important;
            color: #5dade2 !important;
        }

        #ageverify .popup-holder, .fancybox-inner {
            background-color: #1e1e1e !important;
            color: #e0e0e0 !important;
            border: 1px solid #444 !important;
        }

        .rating-container, .btn-favourites, .tabs-menu {
            border-color: #333333 !important;
        }
        .info .item em {
            color: #bbbbbb !important;
        }

        .search-button {
            color: #fff !important;
            background-color: #333 !important;
        }
    `);
})();