Showing questions tagged:

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… (read more)

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 --------------- */

Solved Archived 45 2267

Primary account email required for sign-in error

From the subject line - I keep getting this error when trying to use Firefox Sync on my Windows 10 desktop. Sync already works on Mac and Android, and I've already verifi… (read more)

From the subject line - I keep getting this error when trying to use Firefox Sync on my Windows 10 desktop. Sync already works on Mac and Android, and I've already verified that I'm using my primary email to login.

Solved Archived 2 2163

How do I hide the top menu bar in Fullscreen view in Mac OS 14.4.1 on MacBook Air?

When I'm in full screen mode, The Apple, "Firefox" "File" "Edit" "View" "History" "Bookmarks" "Tools" etc menu bar shows up at the top and won't disappear. On my iMac Pro… (read more)

When I'm in full screen mode, The Apple, "Firefox" "File" "Edit" "View" "History" "Bookmarks" "Tools" etc menu bar shows up at the top and won't disappear. On my iMac Pro, it doesn't show up. i.e. Off.

I can't figure out what is the setting to make sure it does not appear. I went digging everywhere and can't figure it out. If you could tell me what config, etc I'm missing I'd appreciate it.

Screen shot attached to show which menu bar I mean.

My firefox is up to date: 126.0 (64-bit)

Solved Archived 3 2128

Startpage Search Engine

This problem exists ONLY on Firefox. I vary search engines, from DuckDuckGo to Presearch and Startpage depending on the search results I get. For no apparent reason I wil… (read more)

This problem exists ONLY on Firefox. I vary search engines, from DuckDuckGo to Presearch and Startpage depending on the search results I get.

For no apparent reason I will get a "suspended connection" message on Startpage while using the Firefox browser. I have included both the link and a screenshot of the problematic page. The page will open perfectly several times, and then suddenly, in the same session, if I open a new Startpage tab, this message will appear. While the suspended connection message is visible in Firefox / Startpage, I will try Startpage in Edge, Opera, Chrome and Midori, and they all open to the Starpage beautifully.

I am using the Firefox 125.0.3 browser, I have cleared caches and cookies, and run full malware scans, with zero negative results, and yet this problem persists. It is sporadic, and does not occur on a predictable basis. It occurs whether the Mozilla VPN is on or not, and switching from on to off or off to on changes nothing, even after refreshing the page.

I am assuming that this is a Firefox issue, as the problem does not occur on other browsers

I can easily switch browsers and / or search engines, but Firefox in conjuction with Startpage is my preferred combo. I just find it frustrating in that I cannot fix it myself.

So....Ehhhh...what's up doc?

https://www.startpage.com/sp/captcha-block#?bc=US&bi=QuadraNet&be=a2667ecaaf93ae9c091acfff4cebeacc&bds_t=1715638671T77bc1f599823650a2bba749db91bb9c806807a1edc0a34414bf50516dbe0e125&bds_s=dd88ea12048c4efdb6fb4d366c52ae8f&lui=english&cat=web&language=english&t=night&cmd=gen_page

Solved Archived 5 2119

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… (read more)

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.

Solved Archived 7 2100

Just can't get passwords to sync

Hi, not sure what I'm doing wrong, but my logins and passwords simply will not synch between devices. I principally use a desktop Win10 machine, and an iOS version of Fir… (read more)

Hi, not sure what I'm doing wrong, but my logins and passwords simply will not synch between devices. I principally use a desktop Win10 machine, and an iOS version of Firefox. Have double-checked settings on both devices, tried forcing a manual sync from each to the other, all to no avail. Any ideas on what I need to do differently? TIA.

Solved Archived 7 2044

Sync doesn`t sync my tabs

Sync is a nightmare. It is so unintuitive! What exactly would be wrong with having separate Export and Import buttons for each of Settings, Addons, Tabs, History, Bookm… (read more)

Sync is a nightmare. It is so unintuitive! What exactly would be wrong with having separate Export and Import buttons for each of Settings, Addons, Tabs, History, Bookmarks, etc? I have a desktop box and a newer laptop I wanted to get up to date. I pressed the Sync button on the desktop ... By the way, there`s a link below that reads "Connect another device" ... Connect where? Someone is designing these interfaces who has absolutely zero imagination. Anyways, I signed off, moved the ethernet cable to my laptop, signed in, pressed Sync, and voila!, I got my Bookmarks, at least. But I have no idea how to get my tabs and windows. I tried with a "download link" something or other, but it seemed to assume I was sync-ing to a phone, and didn`t work. Any way to get my tabs?

Solved Archived 10 1980

Choppy 4K YouTube playback

I have a very good PC (5800X3D, 7900XT, 32GB DDR4 3600), but Firefox (either the normal, canary and nightly version) can't play smoothly any 4K video (like the Borderland… (read more)

I have a very good PC (5800X3D, 7900XT, 32GB DDR4 3600), but Firefox (either the normal, canary and nightly version) can't play smoothly any 4K video (like the Borderlands trailer: https://www.youtube.com/watch?v=lU_NKNZljoQ ). 1440 and lower resolutions are fine, as are 4K videos on Chrome and Edge. FWIW, my CPU during 4K playback is barely used (1-2%), and my GPU's video codec (VCE) is used by around a third. Disabling HW accel makes things better, as it still stutters but it's (barely) passable. I already tried creating a new profile, but still it's the same.

Solved Archived 8 1909

Hmm. We’re having trouble finding that site.

I have been unable to connect to any website through firefox. Every other browser works. Can someone please help? The error is: Hmm. We’re having trouble finding that si… (read more)

I have been unable to connect to any website through firefox. Every other browser works. Can someone please help?

The error is:

Hmm. We’re having trouble finding that site.

We can’t connect to the server at www.google.com.

If you entered the right address, you can:

   Try again later
   Check your network connection
   Check that Firefox has permission to access the web (you might be connected but behind a firewall)
Solved Archived 1 1904

Video does not play audio when I try to watch videos through duck duck go

I have tried watching videos through chrome and other browsers by searching something via duck duck go and watching that video on duck duck go, and it works on other brow… (read more)

I have tried watching videos through chrome and other browsers by searching something via duck duck go and watching that video on duck duck go, and it works on other browser so it must be specific to firefox.

Whenever I try to watch a video, in the drop down bar firefox select to mute audio for some reason. I then select 'allow audio and video' and refresh the page but the video is still muted for some reason. This also happens when I try to use other video sites. This has only started to happen recently in the past two days (and yes I am updated to the latest version of firefox).

Solved Archived 11 1709

Installing root CA certificates

I'm stetting up a testing environment. It's a closed environment with no access to the Internet when it's in use. The environment is launched from AWS and consists of an… (read more)

I'm stetting up a testing environment. It's a closed environment with no access to the Internet when it's in use.

The environment is launched from AWS and consists of an Ubuntu 18 desktop and a Ubuntu Server running Apache. The desktop is able to successfully load the website, but with a cert error that the certificate isn't trusted.

When the Ubuntu Desktop launches, it has a fresh install of Firefox, and therefore all the directories in the users home folder are not yet setup for Firefox, including the database where the root CAs are stored.

I'm am able to add the Root CA certificate into the Firefox cert database AFTER the machine fully boots and I run Firefox for the first time. I'm using the 'certutil' package to do this. After I load Firefox, then add the root CA certificate using certutil, I'm able to load the website without error.

I need to add this certificate to the database with the startup shell script for the machine.

Any help is greatly appreciated. Here's the commands I'm using:

  1. copy the CA cert into firefox

export ffcerts=`ls /home/testuser/.mozilla/firefox/ | grep default-release` sudo certutil -A -n "testcert" -t "TC,," -i /home/testuser/certificates/testcertCA.pem -d sql:/home/testuser/.mozilla/firefox/$ffcerts

These commands work perfectly after Firefox is run for the first time. I've even tried adding 'Firefox' (with several different switches) into my startup script without success.

Solved Locked Archived 3 1668

Amazon loads slowly or not at all; all other sites are fine

Hi! I'm using Firefox 126.0 on Fedora 39. Pages from Amazon.co.uk load very slowly, incompletely, or not at all. All other Web sites are fine. I had a couple of certifi… (read more)

Hi! I'm using Firefox 126.0 on Fedora 39.

Pages from Amazon.co.uk load very slowly, incompletely, or not at all. All other Web sites are fine.

I had a couple of certificate-related errors saying that the identity of the site couldn't be verified, but I can't reproduce the problem, so I can't quote the exact wording, I'm afraid.

The same Amazon pages load properly in Chrome on the same machine, and they load properly in Firefox in a VM on the same machine. That tells me network connectivity must be fine.

I've tried disabling all extensions, reverting to the default theme, running in Troubleshoot Mode, clearing cookies and site data, clearing the startup cache, disabling hardware acceleration, and creating a new profile. The new profile helps slightly, in that it loads more of the page before getting stuck. Nothing else helps at all.

I'd prefer not to refresh Firefox if I can avoid it, because I don't want to lose all my plugins and settings. This installation is five years old. Besides, a new profile didn't fix the problem.

What's the next thing to try? I'd really appreciate any ideas.

Solved Archived 3 1637

Google safesearch

Hello. I have a problem with turning off google safesearch. I'm 28 years old so it's not a problem with google acc. I have same firefox on pc and on laptop. On pc and on … (read more)

Hello. I have a problem with turning off google safesearch. I'm 28 years old so it's not a problem with google acc. I have same firefox on pc and on laptop. On pc and on smarthphone it's easily turning off and if i'm using edge or chrome on laptop it's also turned off, but if i'm using firefox exactly on google it's always turned on no matter what i'm do. Just in case, if i'm using for example bing search in firefox it's also turned off, likely it's always turned when i'm using google with combination in firefox. Methods that I already tried: 1) Turned off in computer settings (not worked) 2) Reinstalled browser (not worked) 3) Checked in my wifi settings (not worked) 4) Updated everything (not worked) Waiting for your help.

Solved Archived 7 1515

Tab dragging stops working at random times

Sometimes drag functionality stops working. I can't grab a tab to move it to another position or to a new window. (Holding left click on the tab and moving the cursor doe… (read more)

Sometimes drag functionality stops working. I can't grab a tab to move it to another position or to a new window. (Holding left click on the tab and moving the cursor does nothing). Also, re-merging the tab with another firefox window stops working. (Dragging a tab to a firefox window from another firefox window doesn't merge them. It does nothing) I can right click on the tab and select Move to move it to a new window but dragging stops working. I have to close Firefox and start it again (sometimes twice), then dragging starts working again. This happens multiple times a day. I am on Linux Mint and the version is 126.0 (64-bit). This problematic behavior has only recently began.

Solved Archived 7 1485

savefrom.net

Hello there; I had installed the "savefrom.net" extension. This extension automatically generated the website address to the "bookmarks toolbar". I deleted the extension … (read more)

Hello there; I had installed the "savefrom.net" extension. This extension automatically generated the website address to the "bookmarks toolbar". I deleted the extension and deleted the shortcut as well. But when the bookmarked website shortcut "firefox" is closed and reopened, it adds itself to the bookmarks toolbar again. No matter what I did, it didn't work. I don't want to delete Firefox completely and reinstall it. Because there are too many shortcuts and data that I use all the time. How do you think I can solve this problem?

Solved Archived 7 1484

Videos on YouTube restricted to 360p

Every time I try to change the resolution of YouTube videos, it only provides 360p as an option, with a "Missing options?" message that redirects me to Google help page t… (read more)

Every time I try to change the resolution of YouTube videos, it only provides 360p as an option, with a "Missing options?" message that redirects me to Google help page that just says my browser might be out of date (I'm on most recent Firefox and Windows 10 updates). The quality is still stuck in 360p when I reboot Firefox in Troubleshooting mode, and there are no quality issues when I use a browser like Edge. What should I be checking to resolve the issue?

Solved Archived 2 1446

Update of Firefox without Administrator privileges

I have Firefox Browser version 112.0.1 (64-bit). Firefox says that there is a new update. In order to install the new update it is required to have Administrator privileg… (read more)

I have Firefox Browser version 112.0.1 (64-bit). Firefox says that there is a new update. In order to install the new update it is required to have Administrator privileges in the computer. Until now, to update Firefow, Administrator privileges were not required.

Solved Archived 3 1420

Enhanced Tracking Protection Blocks x.com in Windows

I've added https://x.com as an exception site but it is still blocked. https://x.com/mozilla doesn't work either Error message on the page: "Something went wrong, but … (read more)

I've added https://x.com as an exception site but it is still blocked.

https://x.com/mozilla doesn't work either

Error message on the page:

"Something went wrong, but don’t fret — let’s give it another shot.

⚠ Firefox’s Enhanced Tracking Protection (Strict Mode) is known to cause issues on x.com"

After 2 days it used to finally load without my doing anything, but not now. I never loads using Firefox.

https://x.com is added as an exception, but obviously ignored.

Tried You can reload webpage(s) and bypass the cache to refresh possibly outdated or corrupted files.

   hold down the Shift key and left-click the Reload button   

NOPE

Tried: Clear the Cache and remove the Cookies for websites that cause problems via the "3-bar" Firefox menu button (Settings), click the padlock icon (Clear cookies and site data) for the domain in the selected tab.

"Remove the Cookies" for websites that cause problems:

   Settings -> Privacy & Security
   Cookies and Site Data: "Manage Data" 

"Clear the Cache":

   Settings -> Privacy & Security
   Cookies and Site Data -> Clear Data -> [X] Cached Web Content -> Clear 
   https://support.mozilla.org/en-US/kb/clear-cookies-and-site-data-firefox
   https://support.mozilla.org/en-US/kb/how-clear-firefox-cache 

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

   switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
   do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window 
   https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode
   https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems 

NOPE - lost all my bookmarks, extensions, settings - not going there again thank you

as for:

You can check for issues with Enhanced Tracking Protection. Firefox shows a purple shield instead of a gray shield at the left end of the location/address bar in case Enhanced Tracking Protection is blocking content.

   click the shield icon for more detail and possibly disable the protection 

the sheild has a slash thru it saying "enhanced tracking is off for this site" when i put my mouse over it.

Solved Archived 7 1371