您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Display page URLs under the page names (legacy feature).
当前为
- /* ==UserStyle==
- @name Google Search Display URL
- @name:ja Google検索 URLを表示
- @description Display page URLs under the page names (legacy feature).
- @description:ja 以前のようにページ名の下へURLを表示します。
- @namespace https://greasyfork.org/users/137
- @version 1.0.1
- @license MPL-2.0
- @contributionURL https://www.amazon.co.jp/registry/wishlist/E7PJ5C3K7AM2
- @compatible Firefox
- @compatible Opera
- @compatible Chrome
- @author 100の人
- @homepageURL https://greasyfork.org/scripts/395307
- ==/UserStyle== */
- @namespace url(http://www.w3.org/1999/xhtml);
- @-moz-document regexp("https?://www\\.google\\.(?:com|(?:com?\\.)?[a-z][a-z])/(?!maps(?:$|.*)).*") {
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) > div > div:first-of-type {
- --sub-color: darkgreen;
- display: grid;
- grid-template:
- " icon title title "
- " dummy url option"
- / min-content auto 1fr;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) cite,
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) a + div > div:first-of-type {
- display: none;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) > div > div:first-of-type > a {
- display: contents;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) > div > div:first-of-type > a > div {
- grid-area: icon;
- align-self: center;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) > div > div:first-of-type > a::after {
- grid-area: url;
- content: attr(href);
- color: var(--sub-color);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) h3 {
- grid-area: title;
- white-space: nowrap;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) a:not([role="button"]) + div {
- grid-area: option;
- position: unset;
- padding-left: 0.5em;
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) .action-menu > a > span {
- border-top-color: var(--sub-color);
- border-bottom-color: var(--sub-color);
- }
- [data-async-context^="query:"] [data-hveid]:not([id]):not([class]) .action-menu > a > span {
- border-top-color: var(--sub-color);
- border-bottom-color: var(--sub-color);
- }
- }