Greasy Fork is available in English.

Google Search Expand Options

Expand options “▾” (Cache, Similar) for each page of search results.

/* ==UserStyle==
@name           Google Search Expand Options
@name:ja        Google検索 オプションを展開
@description    Expand options “▾” (Cache, Similar) for each page of search results.
@description:ja 検索結果の各ページのオプション「▾」(キャッシュ、類似ページ) を展開します。
@namespace      https://greasyfork.org/users/137
@version        1.0.0
@license        MPL-2.0
@contributionURL https://www.amazon.co.jp/registry/wishlist/E7PJ5C3K7AM2
@compatible     Edge
@compatible     Firefox 推奨 (Recommended)
@compatible     Opera
@compatible     Chrome
@author         100の人
@homepageURL    https://greasyfork.org/users/137
==/UserStyle== */

@charset "UTF-8";
@namespace url("http://www.w3.org/1999/xhtml");

@-moz-document url("https://www.google.com/search?q=Greasy%20Fork"), url("https://www.google.co.jp/search?q=Greasy%20Fork"), /* Greasy Forkの適用サイト用 */
	regexp("https?://www\\.google\\.(?:com|(?:com?\\.)?[a-z][a-z])/(?!(?:webhp$|$)|maps(?:$|.*)|search\\?(.*&)?(?:tbm=lcl|tbs=lrf)(?:$|.*)).*") {
	.yuRUbf > a + div { /* ページ名直後の要素 */
		visibility: unset;
	}

	.yuRUbf > a + div > div:nth-of-type(2) > span {
		--gap: 0.5rem;
		margin-right: var(--gap);
		vertical-align: unset;
	}

	.yuRUbf > a + div > div:nth-of-type(2) > span + a { /* このページを訳す */
		vertical-align: -1px;
	}

	g-popup[jscontroller] { /* オプションの「▾」ボタンとメニューの親 */
		visibility: unset;
	}

	g-popup[jscontroller] > [role="button"][aria-label] { /* オプションの「▾」ボタン */
		display: none;
	}

	g-popup[jscontroller] > [role="button"][aria-label] + div { /* オプションのメニューの親 */
		display: unset !important;
		position: unset;
	}

	g-menu[data-ved] { /* オプションのメニュー */
		padding: unset;
		display: flex;
		gap: var(--gap);
	}

	g-menu[data-ved] g-menu-item:is(:not(:active), :active) { /* オプションのメニュー項目 */
		padding: unset;
		background: unset; /* マウスオーバー時に追加されるクラスによるスタイルの打ち消し */
	}

	g-menu-item > div > a:not([role]):is(:link, :visited) { /* オプションのメニュー項目のリンク */
		padding: unset;
		color: #1A0DAB;
	}
}