Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.42 KB | None | 0 0
  1. /*
  2.  * Google検索結果のファビコンとURLをタイトルの下に表示。
  3.  * 2020-01-18
  4.  */
  5. @-moz-document domain("www.google.com"),
  6.                domain("www.google.co.jp") {
  7.   #search div.r > a[href] > div:nth-child(1),
  8.   #search div.r > a[href] > div:nth-child(1) + br {
  9.     display: none !important;
  10.   }
  11.   #search div.r > a[href] > h3 {
  12.     margin-bottom: 0 !important;
  13.   }
  14.   #search div.r > a[href] + div:nth-child(2) {
  15.     position: static !important;
  16.     height: auto !important;
  17.   }
  18.   #search div.r > a[href] + div:nth-child(2) > div cite {
  19.     display: none !important;
  20.   }
  21.   #search div.r > a[href] + div:nth-child(2) > div {
  22.     visibility: visible !important;
  23.   }
  24.  
  25.   #search div.r > a[href]::after {
  26.     display: inline !important;
  27.     content: "\a" attr(href) !important;
  28.     white-space: pre-wrap !important;
  29.   }
  30.   #search div.r > a[href] {
  31.     margin-inline-start: 20px !important;
  32.   }
  33.   #search div.r > a[href] + div {
  34.     display: inline !important;
  35.     width: 0 !important;
  36.     overflow: visible !important;
  37.   }
  38.   #search div.r > a[href] + div:nth-child(2) > div:nth-child(1) img {
  39.     display: inline !important;
  40.     position: absolute !important;
  41.     top: 6px !important;
  42.     left: 0 !important;
  43.   }
  44.   /* Action menu button ⯆ */
  45.   #search div.r > a[href] + div:nth-child(2) > div:nth-child(2) {
  46.     display: inline !important;
  47.     margin-inline-start: 1em !important;
  48.   }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement