搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

multi-line tabs

more options

Why does V 57 NOT support multi-line tabs?

Ver 57 has Broken TabMix Plus, there appears to be no alternative.

This should be a built-in option.

A single line of tabs is useless!!!

Why does opening a new link overwrite the current link, not open a new tab when the appropriate option (in options) is set (open in new tab)?

Again useless.

Richard

Why does V 57 NOT support multi-line tabs? Ver 57 has Broken TabMix Plus, there appears to be no alternative. This should be a built-in option. A single line of tabs is useless!!! Why does opening a new link overwrite the current link, not open a new tab when the appropriate option (in options) is set (open in new tab)? Again useless. Richard

所有回覆 (10)

more options

Hi Richard, let me address those in separate replies.

Directing Links Automatically to a New Tab Instead of the Same Tab

What you're describing is normal. Normally:

  • links open in the same tab UNLESS the site has specially coded them to open in a new window (and then Firefox will usually divert them to a new tab)
  • bookmarks open in the same tab UNLESS you have changed a Firefox setting (more on that below)

You can direct a link or bookmark to open in a new tab using either of these:

  • hold down the Ctrl key while clicking the link
  • "middle-click" the link using the mouse scroll wheel
  • right-click the link > Open Link in New Tab (or Open in a New Tab for bookmarks)

Replacement Extension for Links

https://addons.mozilla.org/firefox/addon/open-link-with-new-tab/

After installation, you need to adjust its settings on the Add-ons page. Either:

  • Ctrl+Shift+a (Mac: Command+Shift+a)
  • "3-bar" menu button (or Tools menu) > Add-ons
  • type or paste about:addons in the address bar and press Enter/Return

In the left column of the Add-ons page, click Extensions. Then find the extension on the right side and click its Options button or More link.

You should have these options, as shown on the Add-ons site:


Settings for Bookmarks

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste book and pause while the list is filtered

(3) Double-click the browser.tabs.loadBookmarksInTabs preference to switch the value from false to true

(4) If desired, switch these as well if you think you might want to open more than one bookmark at a time:

  • Open the tab in the background (don't immediately switch to the bookmarked page): browser.tabs.loadBookmarksInBackground => true
  • Keep the bookmarks menu open until you close it: browser.bookmarks.openInTabClosesMenu => false
more options

Multi-Row Tabs Bar

Since Firefox 57 doesn't let extensions make this kind of change right now, you have to apply a custom style rule to the tab bar. Here's one example of how to do that:

(A) Create a new chrome folder in your profile folder. This article has the steps for that (#1, #2, and optionally #3)

https://www.userchrome.org/how-create-userchrome-css.html

(B) Download the following file and move it into that chrome folder (creates up to 5 rows of tabs):

https://www.userchrome.org/samples/userChrome-multi_row_tabs.css

(C) Rename that file to just userChrome.css

This assumes you do not already have a file named userChrome.css. If you do, you can combine their contents together so you can keep all of your current custom style rules.

The next time you quit Firefox and start it up again, it should discover that file and apply the rules.

Comparison screenshot attached for reference (Windows 7).

more options

jscher2000 said

>Hi Richard, let me address those in separate replies.

Thanks for the quick and useful response, appreciate that.

>>Directing Links Automatically to a New Tab Instead of the Same Tab

>What you're describing is normal. Normally:

Well, maybe "the Team" should review that. At least make it a clear set-up option on installation.

> You can direct a link or bookmark to open in a new tab using either of these:

>* hold down the Ctrl key while clicking the link >* "middle-click" the link using the mouse scroll wheel >* right-click the link > Open Link in New Tab (or Open in a New Tab for bookmarks)

For everyday use, this is useless....

>Replacement Extension for Links

>https://addons.mozilla.org/firefox/addon/open-link-with-new-tab/

Thanks, done, this is a useful solution, but see above, build it into FF.

>Settings for Bookmarks

>(3) Double-click the browser.tabs.loadBookmarksInTabs preference to switch the value from false to true

>(4) If desired, switch these as well if you think you might want to open more than one bookmark at a time:

>* Open the tab in the background (don't immediately switch to the bookmarked page): browser.tabs.loadBookmarksInBackground => true

>* Keep the bookmarks menu open until you close it: browser.bookmarks.openInTabClosesMenu => false

Again, works, but should be a clear setup option.

Thanks, Richard

more options

jscher2000 said

>Multi-Row Tabs Bar

Again, thanks for the quick and useful reply.

>Since Firefox 57 doesn't let extensions make this kind of change right now, you have to apply a custom style rule to the tab bar.

>(B) Download the following file and move it into that chrome folder (creates up to 5 rows of tabs):

>https://www.userchrome.org/samples/userChrome-multi_row_tabs.css

Again, works, thanks.

One question though, is it possible to increase the width of the tabs (or make them x% of the string to be displayed? (Not a css programmer, but could not see an obvious reference to width...).

Also, can the "%" limit for rows be changed?

Thanks, Richard

more options

Hi Richard, in support, we work with the Firefox we have today. You can submit feature suggestions/critiques using: https://qsurvey.mozilla.com/s3/FirefoxInput/

Rich-J said

One question though, is it possible to increase the width of the tabs (or make them x% of the string to be displayed? (Not a css programmer, but could not see an obvious reference to width...).

There is a built-in setting for the minimum width of a tab in pixels:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste tabm and pause while the list is filtered

(3) Double-click the browser.tabs.tabMinWidth preference and enter the desired minimum width. It's currently 76, and in earlier versions of Firefox it was locked to 100 (more space was needed for the curvy parts). However, you can make it as low as 50 or as high as you like (presumably you aren't interested in widths greater than 225, which is the standard width of a new tab with a normal tab bar).

I've never experimented with a style rule to use a % width.

Also, can the "%" limit for rows be changed?

I don't know what you mean.

more options

jscher2000 said

Again, quick reply that works! Thanks.

Rich-J said

One question though, is it possible to increase the width of the tabs (or make them x% of the string to be displayed? (Not a css programmer, but could not see an obvious reference to width...).

>There is a built-in setting for the minimum width of a tab in pixels:

>(3) Double-click the browser.tabs.tabMinWidth preference and enter the desired minimum width.

Got it, works nicely (120 my choice)

>I've never experimented with a style rule to use a % width.

>Also, can the "%" limit for rows be changed? >I don't know what you mean.

Way back when (not done html for years), you could define an object to have a pixel or percentage width. % gave you a variable width depending on the screen res (25% gave you 1/4, or 4 objects of equal size)

Richard

more options

Shrink the tab width down to about the size of the icon:

.tabbrowser-tab {

   min-width: 40px !important;

}

This size seems to have the icon slightly off-center (to the left), but when I tried a little smaller, the tab appearance suffered. For example, mousing over the tab highlighted an area wider than the tab itself. So I'll stick with 40 pixels. _______________________________Example_______________

Is possible to incorporate I would thing from some of these if not already have : USSER CHROME URL'S

https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/ http://techdows.com/2017/09/classic-theme-restorer-userchrome-css-modify-firefox-57-photon-ui.html https://github.com/Aris-t2/CustomCSSforFx/issues/1 https://www.accessfirefox.org/Theme-Font-Size-Changer.php https://www.userchrome.org/ https://www.accessfirefox.org/Firefox_Accessibility_Themes.php https://www.userchrome.org/what-is-userchrome-css.html http://kb.mozillazine.org/UserChrome.css https://github.com/axydavid/FirefoxUI/blob/master/README.md https://github.com/wilfredwee/photon-australis https://www.reddit.com/r/FirefoxCSS/ Note not all code in one place.

Please let us know if this solved your issue or if need further assistance.

more options

Rich-J said

> > Also, can the "%" limit for rows be changed?
> I don't know what you mean.
Way back when (not done html for years), you could define an object to have a pixel or percentage width. % gave you a variable width depending on the screen res (25% gave you 1/4, or 4 objects of equal size)

This works if you want five tabs across:

.tabbrowser-tab {
  width: 20% !important;
}

If that 20% ever gets lower than the minimum you set, then the fifth tab will wrap to the next line.

(I didn't test other values.)

more options

Pkshadow said

>Shrink the tab width down to about the size of the icon:

That is actually the opposite of what I want. I need to be able to see more of the text. I have set it to 120, which seems to work.

>Is possible to incorporate I would thing from some of these if not already have : USSER CHROME URL'S

Not obvious to me what some do, but thanks.

>Please let us know if this solved your issue or if need further assistance.

Mostly fixed. However I notice that drag/drop to reposition tabs (change order) does not work reliably, esp between rows.

Thanks.

Richard

more options

Rich-J said

I notice that drag/drop to reposition tabs (change order) does not work reliably, esp between rows.

Agreed. This set of style rules seems to confuse Firefox about where a tab is in the sequence the moment you start dragging it.