X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

Posted

On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".

When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.

What can I do to put this button in Firefox 4 on BOTH places???

Your help is really appreciated. I want to upgrade, but I want my buttons on both places...

I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

Modified by jaimenacach

Chosen solution

You can make the + on the tab bar visible with code in userChrome.css

Add code to userChrome.css below the @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* show New Tab button on tab bar*/
.tabs-newtab-button { visibility: visible !important; }

Read this answer in context 19

Additional System Details

This happened

Every time Firefox opened

This started when...

I upgraded to FF4

Installed Plug-ins

  • LogMeIn, Inc. Remote Access Components
  • IE Tab Plug-in for Mozilla/Firefox
  • np-mswmp
  • ActiveTouch General Plugin Container Version 105
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Adobe PDF Plug-In For Firefox and Netscape "9.4.2"
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Default Plug-in
  • Provides additional functionality on Facebook. See our web site for details.
  • Google Update
  • Shockwave Flash 10.2 r152
  • iTunes Detector Plug-in
  • Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
  • 3.0.50106.0
  • NPWLPG

Application

  • User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 GTB7.1

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10756 solutions 96800 answers

Chosen Solution

You can make the + on the tab bar visible with code in userChrome.css

Add code to userChrome.css below the @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* show New Tab button on tab bar*/
.tabs-newtab-button { visibility: visible !important; }

flowrush 0 solutions 1 answers

That above posted solution only works for ONE row of tabs. Once more row are created (I use Tabs Mix Plus 0.3.8.6pre110429a) the new tab button next to the tabs goes away.

So yea this is still a problem.

Modified by flowrush

quishadi 0 solutions 1 answers

The suggested fix doesn't interact well with the arrows (specifically the one on the right) that appear when the tab-bar fills up with tabs. When the "+-button" is added via the normal customization method, it will automatically move to the right of the right-hand arrow and thus always stays visible as more tabs are added. However, when it is forced to appear by editing userChrome.css, it never becomes fixed in place, and continues to float to the right as tabs are added. In this scenario, once the bar fills up with tabs and the arrows appear, adding a new tab will "push" the "+-button" out of view behind the right-hand arrow. Then if you want to add another tab, first the right hand arrow must be pressed in order to show the "+-button," and then it can be pressed to add the tab ... which in turn hides the "+-button" again. All in all, very frustrating. Clearly using the customization method does more than simply setting the visibility style.

cor-el
  • Top 10 Contributor
  • Moderator
10756 solutions 96800 answers

Helpful Reply

Question owner

This small add on is great, and this way you don't have to edit the Chrome css file! thanks for whomever made this!