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

Ubuntu下Firefox点击滚动区域底部未按翻页滚动问题求助

解决Ubuntu Firefox点击页面底部滚动行为与Chrome不一致的问题

问题背景

在Ubuntu 22.04(Jammy)的Firefox中,已通过about:config修改以下滚动相关配置,期望对齐Chrome/Chromium的滚动行为:

widget.gtk.overlay-scrollbars.enabled false 
widget.non-native-theme.gtk.scrollbar.thumb-size 1
widget.non-native-theme.scrollbar.size.override 15

general.smoothScroll true
general.smoothScroll.stopDecelerationWeighting 0.8
mousewheel.min_line_scroll_amount 60
layout.frame_rate.precise true
mousewheel.acceleration.start 1
mousewheel.min_line_scroll_amount 60

general.smoothScroll.mouseWheel.durationMaxMS: 250
general.smoothScroll.currentVelocityWeighting: 0
mousewheel.min_line_scroll_amount: 25

但遇到不一致问题:点击页面底部时,Firefox直接滚动到页面末尾,而Chrome会触发类似Page Down的翻页滚动。

解决方案

要让Firefox实现Chrome式的页面空白处点击翻页行为,需在about:config中修改以下配置:

  • 找到配置项 browser.scrolling.clickScroll.enabled,设置为 true(开启点击滚动功能)
  • 找到配置项 browser.scrolling.clickScroll.distance,设置为 screen(设置滚动距离为一屏)

修改完成后重启Firefox,再次点击页面底部空白区域,即可触发类似Chrome的翻页滚动,而非直接跳转到页面末尾。

补充说明

  • 上述配置仅针对页面空白区域(非可交互元素)的点击滚动行为,不会影响滚轮滚动、滚动条操作等其他滚动方式。
  • 若需要恢复默认行为,将上述两个配置项分别改回false和default即可。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.15 23:02:41