Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any way to remove the "Open New Tab" butto (+) in the Quantum browser?

7 views
Skip to first unread message

cjsmall

unread,
Oct 8, 2020, 12:23:36 PM10/8/20
to
Pre-Quantum there were extensions to remove the New Tab button. These are all gone. Is there any way to get this button from displaying? It's annoying and in the way. Thanks.

Robert Riches

unread,
Oct 8, 2020, 11:48:39 PM10/8/20
to
On 2020-10-08, cjsmall <jeffer...@gmail.com> wrote:
> Pre-Quantum there were extensions to remove the New Tab button. These are all gone. Is there any way to get this button from displaying? It's annoying and in the way. Thanks.

Hurray!!!!! I'm not the only one who is afflicted with an
unwanted tab bar problem!

My angle is I want to have the tab bar completely gone when there
is only one tab for a given browser window. I had a workaround
until the update to Firefox ESR 78.3.0esr. In my case, I'm
running Devuan Ascii.

To just get rid of the 'new tab' button, I used the following
method:

1) Hamburger menu -> Customize

2) Move the 'New Tab' button to the overflow area

3) Right-click on 'New Tab' in the overflow area -> Remove
from Toolbar

I found the following workaround here:

https://www.reddit.com/r/FirefoxCSS/comments/7dqtuf/hide_tab_bar_if_only_one_tab_is_open/

I have this in my userChrome.css file:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv cut here vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

/* This came from this page: */
/*
https://www.reddit.com/r/FirefoxCSS/comments/7dqtuf/hide_tab_bar_if_only_one_tab_is_open/
*/

/* hide tab bar if only one tab */
tab:only-of-type {
display:none;
}

/* unset the tab bar min-height */
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox,
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
min-height: initial !important;
/* rmr: change to 0px did not help. */
/* min-height: 0px !important; */
}

/* set the height on the tabs instead */
tab {
line-height: 32px; height: 32px;
}

/* hide new tab button so tab-bar can collapse */
.tabs-newtab-button {
display: none;
}

/* ...but show it on tab-bar hover */
/* rmr: commenting this out does not help. */
#tabbrowser-tabs:hover .tabs-newtab-button {
display: block;
}



/* It is also necessary to use 'customize' to move the new tab
button to */
/* the overflow area, then remove the new tab button from the
toolbar. */



/* FIXME: With that, the tab bar remains, even though it is
empty. */

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cut here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

However, even with all that CSS code, the tab bar does not
collapse for me. It is completely empty of any content that I
can see, but it won't collapse.

Does anyone here have a solution to make the empty tab bar
finally collapse?

I'm usually pretty good with using Inspect Element to remove
offensive (moving, etc.) ads from pages I'm viewing. Is there
a way to open a DOM Inspector on the stuff in the tab bar? If
so, it may be possible to find out what might be there but not
readily visible or what attribute setting might make the tab bar
collapse.

In my case, I have scripts using xmacroplay (on Linux) to
automate printing check images from my bank, automatically log in
to a non-financial website I frequent, etc. If I can't get the
tab bar to collapse, I'm going to have to modify at least some of
those scripts.

--
Robert Riches
spamt...@jacob21819.net
(Yes, that is one of my email addresses.)

cjsmall

unread,
Oct 9, 2020, 5:03:04 AM10/9/20
to
On 2020-10-08, cjsmall wrote:
> Pre-Quantum there were extensions to remove the New Tab button.
>These are all gone. Is there any way to get this button from displaying?
> It's annoying and in the way. Thanks.

On Thursday, October 8, 2020 at 8:48:39 PM UTC-7, Robert Riches wrote:
> To just get rid of the 'new tab' button, I used the following method:
>
> 1) Hamburger menu -> Customize
> 2) Move the 'New Tab' button to the overflow area
> 3) Right-click on 'New Tab' in the overflow area -> Remove from Toolbar

Fantastic Robert. I never would have expected that it was possible to drag
the Open New Tab button off the tab bar using customize! I very much
appreciate your sharing this method with the rest of us. I found that you can
drag it directly into the tool bin without having to first drop it in the overflow
area, so it's a one step process.

And I'm glad you also found a solution you tab bar problem.

Regards.

Robert Riches

unread,
Oct 9, 2020, 10:20:13 PM10/9/20
to
I'm glad you improved on my method for getting rid of the 'New
Tab' button. When you moved the 'New Tab' button away, did the
tab bar collapse?

At least for me, I'm still searching for the rest of the
solution. I want the tab bar to entirely collapse when there is
only one tab in order to avoid the rather large waste of vertical
space. That was working prior to the version 78 update.

Does anyone have suggestions for making the tab bar to collapse
and quit wasting pixels?

Thanks.

cjsmall

unread,
Oct 10, 2020, 12:41:14 AM10/10/20
to
On Friday, October 9, 2020 at 7:20:13 PM UTC-7, Robert Riches wrote:
> At least for me, I'm still searching for the rest of the
> solution. I want the tab bar to entirely collapse when there is
> only one tab in order to avoid the rather large waste of vertical
> space. That was working prior to the version 78 update.
>
> Does anyone have suggestions for making the tab bar to collapse
> and quit wasting pixels?

I had an old note that said setting the config variable:

browser.tabs.autoHide true

would hide the bar for a single tab. However, I just tried it and
it doesn't work any longer. I'm afraid that's all I've currently got
on the subject.

Robert Riches

unread,
Oct 10, 2020, 8:24:21 PM10/10/20
to
Thanks for the reply. Yes, that config variable quit working a
good while ago--IIRC, at least a couple of years ago. If I
gathered correctly, I had two rounds of workarounds prior to the
switch a few weeks ago to version 78.
0 new messages