Google images - Show size LOCAL

Display size of image on the thumbnails

目前為 2020-05-12 提交的版本,檢視 最新版本

/* ==UserStyle==
@name:fr        Google images - Afficher la taille
@name           Google images - Show size LOCAL
@namespace      https://github.com/Procyon-b
@version        0.4.0
@description:fr Affiche la taille des images sur les miniatures
@description    Display size of image on the thumbnails
@author         Achernar
@preprocessor stylus

@var checkbox Always  'Show: always / on mouse over' 1
@var checkbox hover   '  hide on mouse (if always show)' 1
@var checkbox top     'Display at the top' 0
==/UserStyle== */
@-moz-document regexp("https:\\/\\/www.google\\..*?\\/search\\?.*?tbm=isch.*") {

div[data-ow] > a * {
  z-index: -1;
}
div[data-ow] > a + div {
  z-index: -2;
}
div[data-ow]::before {
  display: none;
  z-index: 0;
  padding: 6px;
  color: #70757a;
  font: normal 11px arial,sans-serif;
  background-color: rgba(255, 255, 255, 0.9);
  content: attr(data-ow) " × " attr(data-oh);
  position: absolute;
  border-radius: 0 6px 0 0;
  bottom: 3.8em;
}

if top {
  div[data-ow]::before {
    border-radius: 0 0 6px 0;
    bottom: initial;
  }
}

if Always {
  div[data-ow]::before {
    display: inline-block;
  }
  if hover {
    div[data-ow]:hover::before {
      display: none;
    }
  }
}
if Always == 0 {
  div[data-ow]:hover::before {
    display: inline-block;
  }
}

}

QingJ © 2025

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