z css

a

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला 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 सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

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

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

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

// ==UserScript==
// @name        z css
// @description a
// @match       https://chat.z.ai/*
// @run-at      document-start
// @version 0.0.1.20251201155813
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function () {
    const css = `
:root {
color-scheme: light dark !important;
}

*:not(div[data-language="python"]):not(div[data-language="python"] *):not(code):not(code *) {
    color: revert !important;
}

*{
    background: revert !important;
min-width: revert !important;
}

nav {
    background-color: canvas !important;
}

div:has(> div > div > div > button > svg > path[d^="M10 3a.75.75 0 01.75.75v10.638l3.96-4.158a.75.75"]) {
    display: none !important;
}

div.chat-user > div > div > div.rounded-xl {
    background-color: red !important;
    color: black !important;
}

button:has(> svg.rotate-45 > path[d^="M512 853.333333c-25.6"]) {
    display: none !important;
}

div:has(> div > div.suggestionContainer) {
    display: none !important;
}

div[data-popover-content] {
    display: none !important;
}
  `;
    const style = document.createElement('style');
    style.id = 'zCssStyleId';
    style.textContent = css;
    document.head.appendChild(style);
})();