The Ubuntu 7.04 was finally installed in the last two days, but the discovery of Firefox under Ubuntu (upgraded to 2.05) always opens a new page in a new window, even if it is set in Firefox to open in the new tab. If you want to play the page in the New tab, you can only use the middle button of the mouse, use it to feel very uncomfortable. The solution is as follows: (Reference: http://ubuntuswitch.wordpress.com/2007/03/01/open-only-tabs-in-firefox-in-ubuntu-without-extension/)
1. Open a new Firefox window, enter about:config in the address bar
2. Change the Browser.link.open_newwindow to 3
Change Browser.link.open_newwindow.restriction to 0 (or 2)
Note:
The role of Browser.link.open_newwindow is to control whether a link is opened in a new window, with the following 3 values to choose from:
* 2 (default) opens in new window
* 3 Open in new tab
* 1 (or other value) opens in the current window/tab
Browser.link.open_newwindow.restriction defines whether a window opened through JavaScript is consistent with the Browser.link.open_newwindow setting, and also has 3 optional values:
* 0 (Firefox 1.0 and previous version defaults) all Windows opened through JavaScript are consistent with Browser.link.open_newwindow settings
* 1 Open in new window (same as IE)
* 2 (Firefox 1.5 and later versions of the Ldo defaults) have set the window properties (such as size, status bar) in a new window open, no, and Browser.link.open_newwindow settings consistent