Greasy Fork镜像 支持简体中文。

Reddit Preview Button Fix

Some custom CSS on old.reddit.com causes the expand button to glitch out (where there's supposed to be a button, there's a gibberish image instead). This style fixes this by replacing the buttons with new button images from the Silk icon set. (https://commons.wikimedia.org/wiki/Silk_icons)

  1. /* ==UserStyle==
  2. @name Reddit Preview Button Fix
  3. @namespace github.com/openstyles/stylus
  4. @version 1.1.0
  5. @description Some custom CSS on old.reddit.com causes the expand button to glitch out (where there's supposed to be a button, there's a gibberish image instead). This style fixes this by replacing the buttons with new button images from the Silk icon set. (https://commons.wikimedia.org/wiki/Silk_icons)
  6. @author pythoncoder42
  7. ==/UserStyle== */
  8.  
  9. @-moz-document domain("old.reddit.com") {
  10. [class~=expando-button][class~=collapsed] {
  11. content: url('https://upload.wikimedia.org/wikipedia/commons/a/a7/Add.png') !important;
  12. background-image: none !important;
  13. transform: rotate(0deg) !important;
  14. }
  15. [class~=expando-button][class~=expanded] {
  16. content: url('https://upload.wikimedia.org/wikipedia/commons/5/54/Delete-silk.png') !important;
  17. background-image: none !important;
  18. transform: rotate(0deg) !important;
  19. }
  20. }

QingJ © 2025

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