We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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