this post was submitted on 20 Jun 2023
6 points (87.5% liked)

Firefox

18050 readers
6 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/332512

Whenever I accidentally scroll too far left or right in Firefox, it goes back or forth in my history, which is very annoying. How could I disable this?

EDIT: Fixed it by disabling the gestures. Thanks @[email protected]!

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 years ago (1 children)

I have this behavior on desktop specifically on the laptop trackpad's 2finger swipe gesture, which seems to be used for both scrolling as well as back/forward. I do not have this behavior on other input devices' methods for scrolling (e.g. mouse wheel horizontal scroll).

You can disable the touchpad gestures via about:config: https://www.instructables.com/Customizing-multitouch-gestures-in-Firefox/

[–] GentooPhysicist 2 points 2 years ago

Thanks, that fixed it indeed!

[–] [email protected] 1 points 2 years ago (1 children)

According to https://support.mozilla.org/en-US/questions/1111123 :

In the about:config page there's an option named middlemouse.contentLoadURL. If you set that to false, it seems to stop the middle mouse click from going back to the previous visited website.

[–] GentooPhysicist 1 points 2 years ago

In my case it's specifically when I scroll horizontally, not when middle clicking on the page.

[–] [email protected] 0 points 2 years ago (2 children)

You mean on firefox mobile?

I don’t know about the history, but on firefox mobile there is a setting to let you switch from one tab to another when sliding left or right. Maybe you are speaking of that? https://support.mozilla.org/en-US/kb/use-gestures-in-firefox-android#w_switch-tabs-by-swiping-the-address-bar

[–] [email protected] 2 points 2 years ago (1 children)

I honestly have no idea what they're talking about. Neither desktop nor mobile have this behavior. Maybe he's talking about the Android gesture that replaced the back button when they removed the bottom buttons?

[–] GentooPhysicist 1 points 2 years ago

I'm talking about the Firefox build on my laptop, I'll make a screen capture when I'm home

[–] GentooPhysicist 1 points 2 years ago

No, I mean on my laptop. When I scroll horizontally and I overscroll, it either goes forwards or backwards in my browser history for that tab.