🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

grok css

a

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name         grok css
// @description  a
// @match        https://grok.com/*
// @version 0.0.1.20251126055912
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function () {
    const style = document.createElement('style');
style.id = 'grokCssStyleId';

    style.textContent = `
* {
            min-width: revert !important;
            gap: revert !important;
            padding-left: revert !important;
            padding-right: revert !important;
            margin-left: revert !important;
            margin-right: revert !important;
            /*overflow: revert !important;
            white-space: revert !important;*/
            mask-image: revert !important;
        }

        body {
        background: revert !important;
        }

        table * {
          /*overflow-wrap: anywhere !important;*/
        }

        .message-bubble:not(.w-full) {
            background-color: red;
color: black !important;
        }

                .message-bubble:not(.w-full) * {
color: black !important;
        }

button {
white-space: revert !important;
}

button[aria-label="Scroll down"] {
display: none !important;
}

canvas {
display: none !important;
}

div:has(> button > svg > path[d^="M12 4H8C5.79086 4 4 5.79086"]) {
    display: none !important;
}

div:has(> div > div > button[aria-label="Toggle sidebar"]) {
    background: revert !important;
    background-color: canvas !important;
    }

  div:has(> div[data-sidebar="sidebar"]) {
    background-color: canvas !important;
    border: none !important;
  }

div:has(> div > div > button > svg > path[d^="M17.64 18.67 20"]) {
    display: none !important;
}

div[role="button"]:has(> div > div > svg > path[d^="M82.7365 14.0405V0.652524H84.8705V9.48811L89.3839"]) {
    display: none !important;
}

div.table-container {
  overflow-x: scroll !important;
}

.w-fit {
    width: revert !important;
}

thead.sticky {
  top: 0 !important;
}

section[aria-label*='Notifications']:has(> ol[class*='toaster group']) {
    display: none !important;
}

div:has(> button > svg > path[d*='M4 4v7a4 4 0 0 0 4 4h12']) {
    display: none !important;
}

div:has(> button[aria-label*='Attach'] > svg > path[d*='M10 9V15C10 16.1046 10.8954 17']) {
    position: revert !important;
}

div:has(> div > form div[contenteditable='true']) > ul {
    display: none !important;
}
        `;
    document.head.appendChild(style);
})();