You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求助:MacBook Sonoma下Chrome滚动条始终显示设置问题

解决Mac上Chrome滚动条始终可见的方法

方法1:调整Mac系统滚动条设置

Mac系统的默认设置会影响Chrome的滚动条行为,先确认系统层面的配置:

  • 打开「系统设置」→「桌面与程序坞」
  • 找到「滚动条」选项,选择「始终显示」
  • 重启Chrome后验证效果

方法2:Chrome自定义用户样式(强制显示滚动条)

如果系统设置无效,可通过自定义CSS强制Chrome显示滚动条:

  1. 在Chrome地址栏输入 chrome://version/,找到「个人资料路径」并复制
  2. 打开Finder,按 Cmd+Shift+G 粘贴路径并回车,进入个人资料文件夹
  3. 若没有 User StyleSheets 文件夹则新建一个,进入后创建 Custom.css 文件
  4. 打开 Custom.css 粘贴以下代码:
::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 6px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}
  1. 保存文件后重启Chrome

方法3:终端命令修改Chrome偏好

若前两种方法无效,尝试通过终端强制关闭滚动条自动隐藏:

  1. 关闭所有Chrome窗口
  2. 打开「终端」,输入以下命令并回车:
defaults write com.google.Chrome AppleShowScrollBars -string "Always"
  1. 重新打开Chrome查看效果

需要恢复默认时,执行:

defaults write com.google.Chrome AppleShowScrollBars -string "Automatic"

内容的提问来源于stack exchange,提问作者MarKil

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.20 18:04:51