browser.tabs.opentabfor.middleclick does nothing on its own



Tabbed Browser
17 years ago
10 years ago


(Reporter: Axel Heider, Assigned: David Hyatt)


Windows 98

Firefox Tracking Flags

(Not tracked)




17 years ago

I'm using Mozille Build 2001101117 (Mozilla/5.0 (Windows; U; Win98; en-US;
rv:0.9.5) Gecko/20011011). It would be a real great feature, if the mouse
wheel button or middle button could be customized to open link in a new
tab or window. Furthermore, it should be possible to specify, if the focus
should go to the new tab/windows or stay at the curretn tab/window, so
the new website load in the background.
I've looked throught the database, it seem this issue has been raised in the
past but is now considered as fixed - does this means these features above
will never be available e.g. in Win98 ? 
I liked this feature in Netscape 4.x on the solaris machines at my university, 
why not bring this to the windows world for people who have to work in both
worlds? :)

regards, Axel
This _is_ fixed

user_pref("middlemouse.openNewWindow", true);

will make middle mouse click open new windows on links

user_pref("browser.tabs.opentabfor.middleclick", true);

will make those windows open as tabs instead.  You sound like you want to set
both.  The second one defaults to false across the board, the first one defaults
to false on Win/Mac and to true on Unix.

Hyatt, there is a good point here.  browser.tabs.opentabfor.middleclick does
nothing useful on its own... the UI may need to be updated for that.
Ever confirmed: true
Summary: customize mouse wheel click on a link to open in new tab/window → browser.tabs.opentabfor.middleclick does nothing on its own

Comment 2

17 years ago
Sorry if my request is not clear. Waht I'd like to have it opening a link
on a new tab without changing the focus to this new tab. The page should 
load in the background.
Nothing about the middle/wheel button can be configured in the GUI, you have
to edit the prefs.js file manually. Or did I miss something in Edit->Prefs

Furthermroe, the line 

  user_pref("middlemouse.openNewWindow", true);

is not accepted on my machine. I terminated everything of Mozilla and
added the two lines. But only the "browser..." line stay there, the
other line is deleted after I restart Mozilla. I tests this three times,
but it does not work - there is no new tab, the miffle/wheel button only
acts exactly like the left mouse button and opne the link in the same age.


Comment 3

17 years ago
This has been implemented.
Last Resolved: 17 years ago
Resolution: --- → FIXED
QA Contact: blakeross → sairuh
i don't have a 3-button or scrollwheel mouse on my win32 box. Axel, could you
vrfy this? thx!

[side note: however, ctrl-clicking does work for me.]
Keywords: verifyme
now that i've finally have a 3-button mouse, i can verify this as fixed (for
some time ;) on win2k and linux rh7.2.
Keywords: verifyme
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.