› Get Google Chrome
› Vimium · 在 Chrome 里使用 vim 快捷键
shingle
V2EX  ›  Chrome

有遇到过 chrome 浏览器看很多网站代码块背景是黑色的问题吗

  •  
  •   shingle · Aug 14, 2020 · 4073 views
    This topic created in 2289 days ago, the information mentioned may be changed or developed.

    系统:macOS big sur 浏览器版本:84.0.4147.125 (正式版本)

    比如这篇文章: https://thecodersstop.com/golang/simple-http-request-logging-middleware-in-go/

    我用 chrome 打开就成这样,发现不止这一个网站会变成这样 image 开启无痕窗口也是一样,排除插件的问题,主题恢复成默认也没解决。

    但是用 Safari 打开就能正常显示

    image

    11 replies  •  2022-04-27 11:42:39 +08:00
    feiyan35488
    feiyan35488
    Nov 3, 2020
    1
    同样的情况, bug sur beta 版 chrome 中代码框就全黑了
    Hanson16043287
    Hanson16043287
    Dec 22, 2020
    2
    +1 有知道如何解决吗
    renzituo
    renzituo
    Dec 24, 2020
    3
    chrome://flags/#enable-force-dark
    renzituo
    renzituo
    Dec 24, 2020
    4
    有几个选项 试试吧。
    yozi
    yozi
    Jan 5, 2021
    5
    一样的问题,好别扭啊 我给 chrome 反馈过 但是一直没修复的感觉
    caoyouming
    caoyouming
    Feb 5, 2021
    6
    同,蹲一个解决方案!!!
    xunyulin
    xunyulin
    Mar 6, 2021
    7
    同样问题+1
    renzituo
    renzituo
    Mar 16, 2021
    8
    再来挖个坟吧。今天查看了 题主个的网站,发现样式里 font-family 有 source code pro ,但是 root 里的 font-family 没有 source code pro,就尝试了 把我系统安装的 source code pro 字体个停用了。 瞬间就好了。
    renzituo
    renzituo
    Mar 16, 2021
    9
    @xunyulin 再来挖个坟吧。今天查看了 题主个的网站,发现样式里 font-family 有 source code pro,但是 root 里的 font-family 没有 source code pro,就尝试了 把我系统安装的 source code pro 字体个停用了。 瞬间就好了。
    northcccc
    northcccc
    Apr 27, 2022
    11
    重新安装 source code pro 解决了
    https://github.com/microsoft/vscode/issues/100840
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3015 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 10:13 · PVG 18:13 · LAX 02:13 · JFK 05:13
    ♥ Do have faith in what you're doing.