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

搜索 | 用户支持

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

详细了解

Disabled, having trouble navigating content in Firefox

  • 3 个回答
  • 0 人有此问题
  • 14 次查看
  • 最后回复者为 jehighley

more options

I have physical limitations and need to use middle mouse button to scroll.

However, in Firefox, middle mouse button to scroll is interrupted whenever the mouse hovers over a hyperlink or linked object -- and, fun fact, there are A LOT of links on the Internet, so this equates to a very janky and sub-optimum experience, in my personal use-case.

How can I make it so that the middle mouse button functionality is not hijacked by mouse-over context? I've already tried/disabled middle-mouse-button-click-to-open-link-in-new-tab.

I have physical limitations and need to use middle mouse button to scroll. However, in Firefox, middle mouse button to scroll is interrupted whenever the mouse hovers over a hyperlink or linked object -- and, fun fact, there are A LOT of links on the Internet, so this equates to a very janky and sub-optimum experience, in my personal use-case. How can I make it so that the middle mouse button functionality is not hijacked by mouse-over context? I've already tried/disabled middle-mouse-button-click-to-open-link-in-new-tab.

被采纳的解决方案

...I was able to find a scroll solution using AutoHotKey that allows scrolling from anywhere in the page, even while hovering over images/links within Firefox. In the example below I have it assigned to the + key on the number pad, as after some experimentation that seems to work for me the best, but this could easily be modified to any other key, or the middle mouse button instead:

NumpadAdd::
Loop
{
    If !GetKeyState("NumpadAdd","P")
        break
    MouseGetPos, ,ay
    Sleep, 100
    MouseGetPos,,by
    Send % (ay<by ? "{WheelDown " : "{WheelUp ") . round(Abs(ay-by)/15) . "}"
}
Return
定位到答案原位置 👍 0

所有回复 (3)

more options

Do you mean scrolling with the mouse wheel or initiating the Firefox auto-scroll feature by pressing the scroll wheel?

In case of the latter you need to make sure that the mouse pointer isn't on an active part of the page when you click what can be difficult if there are a lot of element/images that accept click events. Once you have entered auto-scroll, you shouldn't leave it by moving the mouse up/down until you click a mouse button or press ESC.

In case of the former, you can try to move the mouse pointer to the scroll bar area to avoid scrolling frames, although Firefox should continue scrolling the page once you reach the end of that frame.

more options

Thank you for the reply.

I am referring to initiating auto-scroll by pressing middle-click.

'...you need to make sure that the mouse pointer isn't on an active part of the page when you click what can be difficult if there are a lot of element/images that accept click events.

Yes, I am aware of this and you are describing the problem I'm trying to find a solution for: I want to have access to auto scroll at all times, regardless where the pointer is, or what is going on under it.

more options

选择的解决方案

...I was able to find a scroll solution using AutoHotKey that allows scrolling from anywhere in the page, even while hovering over images/links within Firefox. In the example below I have it assigned to the + key on the number pad, as after some experimentation that seems to work for me the best, but this could easily be modified to any other key, or the middle mouse button instead:

NumpadAdd::
Loop
{
    If !GetKeyState("NumpadAdd","P")
        break
    MouseGetPos, ,ay
    Sleep, 100
    MouseGetPos,,by
    Send % (ay<by ? "{WheelDown " : "{WheelUp ") . round(Abs(ay-by)/15) . "}"
}
Return

由cor-el于修改