Grok SVG Width Fix

Find specific path and set its parent SVG width to 100%

目前為 2025-07-06 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Grok SVG Width Fix
// @description  Find specific path and set its parent SVG width to 100%
// @match        *://*.grok.com/*
// @version 0.0.1.20250706021635
// @namespace https://gf.qytechs.cn/users/1435046
// ==/UserScript==

(function() {
  document.addEventListener('DOMContentLoaded', () => {
    const path = document.querySelector('path[d^="M76.4462"]');
    if (!path) return;
    const svg = path.closest('svg');
    if (!svg) return;
    svg.style.setProperty('width', '100%', 'important');
  });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址