Home » Questions » Computers [ Ask a new question ]

In Firefox, how to make middle click be exactly identical to Ctrl+Click?

In Firefox, how to make middle click be exactly identical to Ctrl+Click?

On a default Firefox profile, Middle Click does the same thing as Ctrl+Click - for most of the sites, anyway. There are some sites where this doesn't work; either a new tab is not created at all (instead the click occurs in the current tab), or a tab is created but a click also occurs in the current tab.

Asked by: Guest | Views: 247
Total answers/comments: 2
Guest [Entry]

"Phoshi's answer using an AutoHotkey script is a nice workaround. I recommend replacing his AutoHotkey script with this modification:

SetTitleMatchMode, 2
#IfWinActive Mozilla Firefox
MButton::
Send ^{LButton}
#IfWinActive

What improvement does this make? Phoshi's script (i.e., using MButton::IfWinActive, Mozilla Firefox and so forth) will make it so the middle mouse button (outside of Firefox and other windows with ""Mozilla Firefox"" in the title) can only send a middle mouse click—middle-drag or middle-button-hold gestures will be impossible while the script is active. (Also, all middle-mouse-button gestures are disabled in ""Mozilla Firefox""-titled windows.)

Also, SetTitleMatchMode, 2 allows the script to match Firefox even if ""Mozilla Firefox"" is later in the window title (otherwise it will only match if ""Mozilla Firefox"" is at the beginning of the window title)."
Guest [Entry]

If you use TabMixPlus, you can configure all mouse actions, including middle click. This works on every platform.