Webtekno Dark Theme

Dark Theme For Webtekno.com

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

You will need to install an extension such as Tampermonkey 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         Webtekno Dark Theme
// @name:tr      Webtekno Karanlık Tema
// @namespace    https://gitlab.com/mburakg/WebteknoDarkTheme
// @version      0.204
// @description  Dark Theme For Webtekno.com
// @description:tr Webtekno.com için Karanlık Tema
// @author       @mbrkg
// @match        https://www.webtekno.*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=webtekno.com
// @grant GM_addStyle
// @run-at document-start
// @include https://www.webtekno.*
// @license MIT
// ==/UserScript==

(function() {
    let css = "";
    if(false || document.location.href.indexOf("https://www.webtekno") == 0){
        css += `
             .content-timeline__time, .wt-container,.headline,.content-card__detail,.sidebar-social__item__caption{
                 background: black!important;
             }
             .content-timeline--underline, .underline, .content-title>h1,.content-body--right,.sidebar-social__item__count,.content-comments__sub-title span,.content-comments__item__author__name,.content-comments__item__message{
                 color: #bec9d3!important;
             }
             #wt-masthead{
                 display:none;
             }
             .sidebar-social__item{
                 border-right: 3px solid black!important;
             }
            .content-body > .content-body--right > .content-body__detail > div{
                background:#334!important;
            }
            .bottom-new-video{
                background:transparent!important;
            }
             `;
    }
    if (typeof GM_addStyle !== "undefined") {
        GM_addStyle(css);
    }
    else {
        let styleNode = document.createElement("style");
        styleNode.appendChild(document.createTextNode(css));
        (document.querySelector("head") || document.documentElement).appendChild(styleNode);
    }
})();