为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

how can i change the number of jumped lines when scrolling?

  • 7 个回答
  • 24 人有此问题
  • 7 次查看
  • 最后回复者为 cor-el

more options
  1. 1 when i scroll through i.e. an article by using the scroll wheel on my mouse, the text jumps up or down by five lines
  2. 2 when i go up or down using PgUp or PgDn the page jumps by more than its own length. i then have to scroll back to see the skipped lines

how can i adjust the number of skipped lines in both cases? tools>options doesn't let me do it myself?!

# 1 when i scroll through i.e. an article by using the scroll wheel on my mouse, the text jumps up or down by five lines # 2 when i go up or down using PgUp or PgDn the page jumps by more than its own length. i then have to scroll back to see the skipped lines how can i adjust the number of skipped lines in both cases? tools>options doesn't let me do it myself?!

所有回复 (7)

more options

For the first part of your question concerning scrolling with the mouse. By default Firefox will uses system settings for deciding how many lines to scroll when using the mouse wheel, but you can change it by modifying a couple of hidden preferences.

  1. Type about:config into the location bar and press enter
  2. Accept the warning message that appears and a list of preferences will appear
  3. In the filter box type numlines
  4. Double-click on the preference mousewheel.withnokey.sysnumlines to change its value to false
  5. Double-click on the preference mousewheel.withnokey.numlines and change it to the number of lines you want to scroll
more options

You can press the Alt key while using the scroll wheel to scroll one line.

mousewheel.withaltkey.action = 0 
mousewheel.withaltkey.numlines = 1
mousewheel.withaltkey.sysnumlines = false
more options

hi tony, this really did the trick. i never knew there was a thing like about:config. so it both works and taught me something. thanks.

more options

sorry cor-el, next time hopefully. of course it works, but i prefer working with just one hand if possible. thanks anyhow.

more options

You're welcome

You can or source use the Alt setting to move faster (e.g. 3 lines) and leave the default withnokey at 1 line. Then you can press Alt if you want to move faster.

By the way: prefs like this are a good candidate to place in user.js. Then you won't forget them and you can quickly initiate a new profile if needed. Be aware that you can not change prefs that are set via user.js permanently via about:config because user.js is read on every start.

由cor-el于修改

more options

OK, we tried this ... in fact, a couple of times, after the first time had it jumping 6 lines yet [huge default they have!] after doing the suggested.

SOOO, next question ... does this only work/register after the browser is closed down/reopened, or is there something else wrong?

Thank you!

more options

Some prefs are only read on startup and cached to improve performance. If those prefs need that then you will have to do that. You can check if opening a new window works as well and then close the other window.