Tabview Youtube Design Customization

Change some designs in Tabview Youtube

2023-07-02 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

/* ==UserStyle==
@name           Tabview Youtube Design Customization
@version        0.1.2
@namespace      github.com/cyfung1031
@license        MIT
@description    Change some designs in Tabview Youtube
@author         CY Fung
@supportURL     https://github.com/cyfung1031/Tabview-Youtube/
@preprocessor   stylus
@var checkbox   no-rounded-button               "No Rounded Button"                        0
@var checkbox   no-tab-btn-text                 "No Tab Button Text"                       0
@var checkbox   round-tab-container             "Round Tab Container"                      0
@var checkbox   round-live-chat-frame           "Round Live Chat Frame"                    0
==/UserStyle== */

@-moz-document url-prefix("https://www.youtube.com/watch?v=") {

    if no-rounded-button {
        html .yt-spec-button-shape-next--size-m,
        html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start,
        html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-button.yt-spec-button-shape-next--segmented-end {
            border-radius:0;
        }
    }

    if no-tab-btn-text {
        .tab-btn[tyt-tab-content="#tab-info"] span,
        .tab-btn[tyt-tab-content="#tab-videos"] span,
        .tab-btn[tyt-tab-content="#tab-playlist"] span {
            display: none;
        }
    }
    
    if round-tab-container {
        html body ytd-watch-flexy[class] #right-tabs {
            border-radius: 28px;
            contain: paint;
        }
    }
    
    if round-live-chat-frame {
        ytd-live-chat-frame#chat.ytd-watch-flexy{
            border-radius: 16px;
        }
    }
    
}