grok css

a

目前為 2025-11-04 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         grok css
// @description  a
// @match        https://grok.com/*
// @version 0.0.1.20251104115612
// @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;*/
        }

        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;
}
        `;
    document.head.appendChild(style);
})();