Google SoAPf Max‑Width 200px

a

目前為 2025-05-03 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Google SoAPf Max‑Width 200px
// @description a
// @match       https://www.google.com/*
// @run-at      document-start
// @version 0.0.1.20250503110011
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function() {
  const css = `
    .SoAPf {
      max-width: 200px !important;
    }
    .SoAPf .n0jPhd,
    .SoAPf .GI74Re {
      display: block !important;
      -webkit-line-clamp: unset !important;
      -webkit-box-orient: unset !important;
      overflow: visible !important;
      text-overflow: unset !important;
      white-space: normal !important;
    }
  `;
  const style = document.createElement('style');
  style.textContent = css;
  document.head.appendChild(style);
})();