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

How do I create an additional "Open a New Tab +" button other than the default one?

Posted

I have done this before, but I can't remember how I can create an additional "Open a New Tab" button and therefore add another + to the toolbar. Please help!

Additional System Details

Installed Plug-ins

  • Google Update
  • Shockwave Flash 11.6 r602
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.5
  • VLC media player Web Plugin 2.0.2
  • 5.1.10411.0
  • Adobe Shockwave for Director Netscape plug-in, version 11.5.9.620
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • 2,5,3,1
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • 6.0.12.448
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • 1.9.0042.0
  • Yahoo Application State Plugin version 1.0.0.7
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • np-mswmp
  • DjVu Plug-In(external version 6.1.1.1574)
  • Office Plugin for Netscape Navigator

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.0; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

alco 18 solutions 141 answers

Hi sumella,
I think you should try an Add-on like one of these:
Tab Mix Plus
New Tab Button on tab bar

Question owner

Thank you alco for the Add-ons. I remember doing something to Firefox script to duplicate the new tab button but I forgot :-(

Thanks!

cor-el
  • Top 10 Contributor
  • Moderator
10743 solutions 96657 answers

Helpful Reply

You can drag the New Tab button from the Tab bar on another toolbar and use this code in userChrome.css to make both New Tab buttons visible.

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

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.


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

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

Question owner

Hi Cor-el, perhaps I am doing something wrong :-( I tried the above but it doesn't seem to work for me. I had to create the chrome folder in my profile folder, and then add the userChrome.css file however. I dragged the tab button which is the + onto another toolbar, but the original does not show even after the css modification. Please help :-) Thanks.

cor-el
  • Top 10 Contributor
  • Moderator
10743 solutions 96657 answers

Helpful Reply

Works for me with the default theme if there aren't a lot of tabs open (no scroll buttons).
If you use tab related extensions that maintain their own buttons then it may not work.
You should see two plus buttons on the tab bar if the code is working properly, one right after the last tab (that one may disappear if you open enough tabs to make scroll buttons appear) and a second plus right after the last tab.

Does other code in the userChrome.css file work?

Question owner

Thank you cor-el. That was my bad. I forgot to change the extension to css as notepad creates .txt as a default. Thank you it works great! :-)