Google image - Show size

Display size of image on the thumbnails

目前为 2020-04-23 提交的版本。查看 最新版本

  1. /* ==UserStyle==
  2. @name Google image - Show size
  3. @name:fr Google image - Afficher la taille
  4. @namespace https://github.com/Procyon-b
  5. @version 0.3.0
  6. @description Display size of image on the thumbnails
  7. @description:fr Affiche la taille des images sur les miniatures
  8. @author Achernar
  9. @preprocessor stylus
  10.  
  11. @var checkbox Always 'Show: always / on mouse over' 1
  12. @var checkbox hover '  hide on mouse (if always show)' 1
  13. @var checkbox top 'Display at the top' 0
  14. ==/UserStyle== */
  15. @-moz-document regexp("https:\\/\\/www.google\\..*?\\/search\\?.*?tbm=isch.*") {
  16.  
  17. div[data-ow]::before {
  18. display: none;
  19. z-index: 9999;
  20. padding: 6px;
  21. color: #70757a;
  22. font: normal 11px arial,sans-serif;
  23. background-color: rgba(255, 255, 255, 0.9);
  24. content: attr(data-ow) " × " attr(data-oh);
  25. position: absolute;
  26. border-radius: 0 6px 0 0;
  27. bottom: 3.8em;
  28. }
  29.  
  30. if top {
  31. div[data-ow]::before {
  32. border-radius: 0 0 6px 0;
  33. bottom: initial;
  34. }
  35. }
  36.  
  37. if Always {
  38. div[data-ow]::before {
  39. display: inline-block;
  40. }
  41. if hover {
  42. div[data-ow]:hover::before {
  43. display: none;
  44. }
  45. }
  46. }
  47. if Always == 0 {
  48. div[data-ow]:hover::before {
  49. display: inline-block;
  50. }
  51. }
  52.  
  53. }

QingJ © 2025

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