顯示下列標籤的問題:

userChrome.css - Help With Customizing Tabs (part 2)

Hi All, I would like the content area of my tabs moved up so that the box is filled with the actual tab color, without the white background, and also the text will be ver… (閱讀更多)

Hi All,

I would like the content area of my tabs moved up so that the box is filled with the actual tab color, without the white background, and also the text will be vertically centered. Right now, the text is dropping too close to the bottom of the tab.

Had this looking very nice in FF 88 with the same code, as you can see in the attached images, but it seems to render differently in FF 115 ESR and FF 125.

Below is some code I used to style the tabs, but the problem exists without this code as well.

I've also included some "tabs on bottom" code I'm using as well at the very bottom.

Would sure like to get those Classic Toolbar Buttons working again too (shown in the second image), but that will be a later request :)

Any help is appreciated.

Thanks!

/* Highlight non-selected tabs on mouseover */ .tabbrowser-tab:not([selected]):hover .tab-content {

  background-color: #dbe3eb !important;

}

  1. TabsToolbar {
 -moz-box-ordinal-group: 3 !important;
 padding-top: 0 !important;
 padding-bottom: 0 !important;
 height: 25px !important;
 background-image: url("bkmr_back.gif") !important;
 border-top: 1px solid #afc0d2 !important;
 border-bottom: 1px solid #8698aa !important;

}

/* Background color of selected tab */ .tab-background[selected="true"] {

   background-attachment: none!important;
   background-image: none!important;
   background-color: #eef5fc !important;

}

/* Background color of non-selected tab */ tab-background:not([selected]) {

   color: #000000 !important;
   background-color: #c7d3e0 !important;

}

/* Border color & bold text for selected tab */

  1. TabsToolbar .tabbrowser-tab[selected] {
   font-weight: 700 !important;
   color: #000 !important;
   border-top: 1px solid #8698aa !important;
   border-left: 1px solid #8698aa !important;
   border-right: 1px solid #8698aa !important;

}

/* Border color & normal text for non-selected tab */

  1. TabsToolbar .tabbrowser-tab:not([selected]) {
   font-weight: 600 !important;
   color: #000 !important;
   border-top: 1px solid #afc0d2 !important;
   border-left: 1px solid #afc0d2 !important;
   border-right: 1px solid #afc0d2 !important;

}

/* -------------- TABS ON BOTTOM --------------- */ /* TABS: below nav-bar - updated for 89+ | 108+ | 113+ */

  • |*:root {
 --tab-toolbar-navbar-overlap: 0px !important;
 --tab-min-height: 25px !important; /* adjust */
 --tab-min-width:  80px !important; /* adjust */

}

  1. navigator-toolbox #TabsToolbar {
 position: absolute !important;
 bottom: 0;
 /* height: 27px !important; */
 height: 28px !important;
 width: 100vw !important;

}

/* navigator-toolbox - padding */

  • |*:root:not([chromehidden*="toolbar"]) #navigator-toolbox {
 position: relative !important; /*89+*/
 padding-bottom: calc(var(--tab-min-height) + 1px) !important; /*adjust*/
 background-color: var(--toolbar-bgcolor) !important;

}

/* TABS: HEIGHT */

  1. tabbrowser-tabs,
  2. tabbrowser-arrowscrollbox,
  3. tabbrowser-tabs .tabbrowser-tab {
 min-height: var(--tab-min-height) !important;
 max-height: var(--tab-min-height) !important;

}

.tab-stack {

 height: var(--tab-min-height) !important;

}

  1. TabsToolbar {
 height: var(--tab-min-height) !important;
 margin-bottom: 0px !important;
 /* box-shadow: ThreeDShadow 0 -1px inset, -moz-dialog 0 1px !important; /*optional*/
 /* background-color: var(--toolbar-bgcolor) !important; */
 color: var(--toolbar-color) !important;

}

/* drag space */ .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"] {

 width: 40px;

}

/* Override vertical shifts when moving a tab */

  1. navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
 padding-bottom: unset !important;

}

  1. navigator-toolbox[movingtab] #tabbrowser-tabs {
 padding-bottom: unset !important;
 margin-bottom: unset !important;

}

  1. navigator-toolbox[movingtab] > #nav-bar {
 margin-top: unset !important;

}

/* hide indicators and caption buttons */

  1. TabsToolbar .private-browsing-indicator {display: none !important;}
  2. TabsToolbar .accessibility-indicator {display: none !important;}
  3. TabsToolbar .titlebar-buttonbox-container {display: none !important;}
  4. TabsToolbar #window-controls {display: none !important;}

/* -------------- TABS ON BOTTOM --------------- */

已解決 封存 45 2252

Removing the Extensions Puzzle Piece Icon?

I just updated to the latest version of Firefox, and all of a sudden I have a new icon, Extensions, that looks like a puzzle piece, I cant seem to be able to remove it...… (閱讀更多)

I just updated to the latest version of Firefox, and all of a sudden I have a new icon, Extensions, that looks like a puzzle piece, I cant seem to be able to remove it....at all.

已解決 封存 20 1053

Change URL border color when focused

Hi All, I would like to change the url border color when it has the focus to blue. The code below works, except when you press Escape. After hitting Escape, the urlbar st… (閱讀更多)

Hi All,

I would like to change the url border color when it has the focus to blue.

The code below works, except when you press Escape.

After hitting Escape, the urlbar still has the focus but its border changes back to gray. It should remain blue.

I would also like to remove the box-shadow after pressing Escape, when the urlbar is not expanded (to mimic the behavior of FF 88).

The url and search input fields also do the same goofy thing Windows 10 does - the cursor stops blinking after 5 blinks and remains frozen. Any way to remove that behavior and keep the cursor blinking? If not, no big deal, the other stuff above is more important.

Any code suggestions to get that behavior are welcome!

/* set the initial borders of the urlbar and search bar to gray */
#urlbar > #urlbar-background, #urlbar[breakout][breakout-extend] > #urlbar-background, #searchbar { border: 1px solid #a1a6b5 !important; outline: none !important; border-radius: 0px !important; }
/* set urlbar border to blue when focused */
#urlbar[breakout][breakout-extend] #urlbar-background {
   border-color: #0078d7 !important;
}
已解決 封存 13 627

Add-on no longer on Toolbar

I'm using the OneTab add-on, Enabled. The icon no longer shows on the Toolbar, though it is on the Menu bar next to Firefox View. I ran Remove and then Added it again, h… (閱讀更多)

I'm using the OneTab add-on, Enabled. The icon no longer shows on the Toolbar, though it is on the Menu bar next to Firefox View.

I ran Remove and then Added it again, hoping the Toolbar Icon would reappear = no go, And I lost all URLs already saved, stupid me. To be clear, clicking the Icon on the Toolbar saves all open tabs.

Is there a fix via Preferences? Thanks. gw

已解決 封存 9 342

Move Tab Icons (favicons) up 1px

Hi All, For some reason my tab icons look a little low, and I would like them more vertically centered. I've been trying to move these icons around using some older code … (閱讀更多)

Hi All,

For some reason my tab icons look a little low, and I would like them more vertically centered.

I've been trying to move these icons around using some older code that doesn't seem to work anymore.

The code below no longer has any effect.

Does anyone know how to move the tab icons up 1 pixel?

Thanks!

/* padding doesn't move them */
.tab-throbber, .tab-icon-image { padding-bottom: 4px !important; }
/* margin doesn't move them */
.tab-throbber, .tab-icon-image { margin-bottom: -2px !important; }
/* can't even turn the icons off LOL */
.tab-icon-image { display:none !important; }
已解決 封存 8 341

Unable to install any extensions.

When trying to install any extensions on either the Mozilla Addons website or directly via the Extension settings, it fails to do so. I've attached a screenshot of the Mo… (閱讀更多)

When trying to install any extensions on either the Mozilla Addons website or directly via the Extension settings, it fails to do so.

I've attached a screenshot of the Mozilla Addons website when it fails to install the extension. On some other addons that I've attempted in the past, it just shows the throbber forever.

I have checked the Multiprocess Browser Console and it says that it fails to move the file because it's locked (NS_ERROR_FILE_IS_LOCKED). I have also attached a screenshot of that.

已解決 封存 7 600

Reader View Icon

I accidentally right clicked and hit "Remove from Address Bar" on the Reader View icon and now it's gone. I tried typing "about:config" into the browser and searching "re… (閱讀更多)

I accidentally right clicked and hit "Remove from Address Bar" on the Reader View icon and now it's gone. I tried typing "about:config" into the browser and searching "reader" then selecting the "reader.parse-on-load.force-enabled" toggle to "true" and that didn't get it back. Is there a way I can get it back?

已解決 封存 7 511

How to set PDF viewer in firefox to dark mode again (after it stopped working)

I view a lot of pdf documents via firefox, the light gray background makes my eyes and head hurt after prolonged usage. In the past I found a solution on this forum that… (閱讀更多)

I view a lot of pdf documents via firefox, the light gray background makes my eyes and head hurt after prolonged usage. In the past I found a solution on this forum that advised to set pdfjs.viewerCssTheme to "2" in about:config. This set the background of pdf viewer to black/dark gray. This has worked for years until recently when the pdf viewer switched to light mode again (pic 1). I checked the about:config settings for pdfjs.viewerCssTheme but there appears to be no change. I tried restarting the browser, setting the theme to 0 and to 2 again, updating browser. Sadly the theme is still light gray. Is there a way to change it again? The desired outcome is in pic 2. I do NOT want to change the color of the pdf pages themselves.

已解決 封存 7 2112

Customize Toolbar page does not appear.

When I try to customize the toolbar in Firefox 115.10, the browser tries to change the page to the customize toolbar / overflow toolbar page. However the page flashes o… (閱讀更多)

When I try to customize the toolbar in Firefox 115.10, the browser tries to change the page to the customize toolbar / overflow toolbar page. However the page flashes on and then reverts to the normal browser page. The page showing customize toolbar/ overflow toolbar, is transient and does not last. So I can't even customize the order of the buttons on my toolbar. This wasn't a problem a few days ago before the switch to this latest version. In particular I am trying to change the position of the "home" button to the left side of the address box. I just can't bring up the customize toolbar page. I'm not talking about the position of the add-on or extension buttons...just the home button. Hope this is clear. By the way, I've even tried this in safe mode to no avail.

已解決 封存 6 426

Can't pin extensions to the tool bar (url bar)

Installed Firefox 122 in a new Windows 10 installation and added some extensions (e.g. Gesturefly, Update Scanner, uBlock Origin, Uppity). These pinned fine on my old in… (閱讀更多)

Installed Firefox 122 in a new Windows 10 installation and added some extensions (e.g. Gesturefly, Update Scanner, uBlock Origin, Uppity). These pinned fine on my old installation. But I cannot find how to pin them on the new.

All the help I have found Googling, or using search here, says go to the Add-ons Manager page and right-click the extension and use "pin to toolbar". Alternatively click the extension and click the gear icon and use "pin to toolbar". But when I right-click there is no pin to toolbar context menu entry. If I left-click the gear I get "Check for Updates, View Recent Updates, Install Add-on From File, Debug Add-ons, Update Add-ons Automatically, Reset All Add-ons to Update Automatically, Manage Extension Shortcuts". If I right-click the gear I get a line of icons (left, right, reload, star) followed by "Open Image in New Tab, Copy Image Link, Email Image, Save Page As, Select All, View Pate Source, Inspect Accessibility Properties, Inspect (Q)". If I right-click the extension in the Add-ons Manager page itself, I get a very similar list. In no case is there a pin to toolbar option.

How do I pin an extension, given the above? What have I messed up?

已解決 封存 6 571

Is it possible to remove Mozilla's title bar?

Hi. I was just looking at Google Photos on both Firefox and Chrome. Chrome had a bigger picture because the window had only the tabs bar and the address bar, and Firefo… (閱讀更多)

Hi. I was just looking at Google Photos on both Firefox and Chrome. Chrome had a bigger picture because the window had only the tabs bar and the address bar, and Firefox has an additional title bar. I was wondering if it would be possible to remove the title bar so the picture on both browsers were the same size?

已解決 封存 6 761

Theme Changes Some Components to Dark-mode Despite Override

Hiya, I use a theme which some years ago (after a change in the way Firefox handles dark-mode preferences) changed all UI and websites to use dark-mode. I was able to kee… (閱讀更多)

Hiya,

I use a theme which some years ago (after a change in the way Firefox handles dark-mode preferences) changed all UI and websites to use dark-mode. I was able to keep using the theme, and mostly override this behavior by setting:

`layout.css.prefers-color-scheme.content-override = 1`

However, this didn't take for some components, such as the sidebar and bookmark editor window, which still continue to use dark-mode.

Is there any way to completely disable dark-mode everywhere, and still use my preferred theme?

Cheers, Afraz

已解決 封存 6 487

I can't restore my search bar

My search box disappeared. I know about clicking the 3 horizontal lines, selecting customize and dragging the box. Actually the box is still there on the customize scre… (閱讀更多)

My search box disappeared. I know about clicking the 3 horizontal lines, selecting customize and dragging the box. Actually the box is still there on the customize screen, but not in any other tabs.

Dragging a second box does nothing. Refreshing Firefox does nothing. Rebooting does nothing. Firefox 125.0.2

已解決 封存 6 256

Setting Startpage as search engine

What's the best way to set up Startpage private search in Firefox? Should I manually change the settings or install the extension? Also, it seems like Firefox could impro… (閱讀更多)

What's the best way to set up Startpage private search in Firefox? Should I manually change the settings or install the extension? Also, it seems like Firefox could improve the process for us.

已解決 封存 5 6246

How can I set a custom file as home page for new tabs in Firefox Desktop 107?

Hello, in past versions of Firefox, I was able to follow the steps on this page to set a custom HTML file on my PC as my home page for new tabs: https://peterries.net/blo… (閱讀更多)

Hello, in past versions of Firefox, I was able to follow the steps on this page to set a custom HTML file on my PC as my home page for new tabs: https://peterries.net/blog/firefox-ubuntu-local-file/

I have Firefox 107.0.1 now and it's not happening. When I open the browser from scratch, I see my custom home page file. But when I open a new tab, I just see a blank screen. If I then click the Home icon on the toolbar, I do see my custom HTML page, but I don't want to have to click that button for each new tab.

Right now, in my settings, I have the URL to the page set as the custom URL for the HTML fiile, like this:

file:///home/peter/Documents/homepage/peter-home-homepage.html

That works. And I also have followed the steps on that blog post to customize my /usr/lib/firefox/autoconfig.cfg and my ../firefox/defalults/pref/autoconfig.js files. That's no longer working.

Did something in a recent version change? Is this no longer supported? Thanks for any ideas!

已解決 被鎖定 封存 5 352

Firefox Multi-Account Containers | Container Name in URL Bar

Firefox 126.0.1 displays a very long name of a container completely in the URL bar. Firefox 127.0 truncates container names AWS long account and role names make keeping t… (閱讀更多)

Firefox 126.0.1 displays a very long name of a container completely in the URL bar.

Firefox 127.0 truncates container names

AWS long account and role names make keeping the long name very convenient (works with the 'AWS SSO Containers' Add-On

已解決 封存 5 289

Firefox 125 URLs missing in suggestions dropdown

I've just updated to Firefox 125 and now, when I start to type in the URL bar and get my suggestion dropdown of previously visited pages, I no longer can see the actual u… (閱讀更多)

I've just updated to Firefox 125 and now, when I start to type in the URL bar and get my suggestion dropdown of previously visited pages, I no longer can see the actual url for each entry. All I see is the top level name for each entry.

This is not helpful, as I may have perviously visited a number of pages on that site and the information shown does not give me a way to differentiate sufficiently between those pages.

How can I get the exact url displayed on the suggestions dropdown.

How can I get those top level descriptions NOT displayed, so that only the urls are shown?

已解決 封存 5 176

Add eyedropper tool to toolbar

the built in eyedropper tool is the simplest and easiest solution to grabbing screen colors without granting file permission to 3rd party solutions for full funcionality.… (閱讀更多)

the built in eyedropper tool is the simplest and easiest solution to grabbing screen colors without granting file permission to 3rd party solutions for full funcionality. I have power-toys but I hate to see this tool needlessly depreciated. My workflow needs to sample many colors at a time making the menu navigation needless. PLEASE let there be a way to add it to the toolbar, I hope there is. Thanks for your time

已解決 封存 5 388

How can I turn on spellcheck as default?

I was happily typing along and noticed both a typo and the fact that the typo was NOT underlined in red squiggles. Hmmmm, I thought. Fiddling around, I discovered an opt… (閱讀更多)

I was happily typing along and noticed both a typo and the fact that the typo was NOT underlined in red squiggles. Hmmmm, I thought.

Fiddling around, I discovered an option on right-click that allowed Me to turn on spellcheck. Now, every time I type in an email or forum, on Twitter, anywhere, I have to right-click to be sure of My spelling.

Thus began My efforts to find how to set the button to be on by default... Finding none led Me to "Help," which a search of the term "spellcheck default" led Me to a zero in returns. Sure, there were discussions with those terms, but I could not prowl them all looking for the method of setting spellcheck to be on by default. The first few pages yielded nothing...

So if You would please, direct Me to that function. [smile]

Thank You.

已解決 封存 5 122

Setting border color for focused URL Bar

Hi All, I'm trying to set the border color for my url & search bars to gray when non-focused, and blue when receiving the focus. The following code works for the sear… (閱讀更多)

Hi All,

I'm trying to set the border color for my url & search bars to gray when non-focused, and blue when receiving the focus.

The following code works for the search bar, but the url bar is receiving a separate blue border around the gray border, instead of changing the color from gray to blue.

Can someone suggest how I might set the url bar to blue (just a single border, not the double it has now), both when it has focus and when it's expanded?

Thank you!

/* set non-focused url & search bars to gray border */
#urlbar > #urlbar-background, #urlbar[breakout][breakout-extend] > #urlbar-background, #searchbar { border: 1px solid #a1a6b5 !important; outline: none !important; border-radius: 0px !important; }
/* set focused search bar to blue border */
#urlbar-background, #urlbar[breakout][breakout-extend] > #urlbar-background:focus-within, #searchbar:focus-within { border: 1px solid #0078d7 !important; }
/* set focused url bar to blue border */
#urlbar-background, #urlbar[breakout][breakout-extend] > #urlbar-background:focus-within, #urlbar:focus-within { border: 1px solid #0078d7 !important; }
已解決 封存 5 476