Showing questions tagged: Show all questions

Bookmarks Toolbar Popup Menu Padding, Color, and more.

Hi All, I'm trying to change the appearance of the "Bookmarks Toolbar / Chevron >>" popup menu, which (after version 88) has turned bright white with extra padding… (read more)

Hi All,

I'm trying to change the appearance of the "Bookmarks Toolbar / Chevron >>" popup menu, which (after version 88) has turned bright white with extra padding between menu items and rounded corners.

I'm a fan of system menus, so I would really like the popup menu to look like the regular bookmarks menu from the top menu bar (see attached image).

I also like the subtle chiseled vertical line separating the favicons and the descriptions, and the 1px gray border around the menu, plus square corners.

I took a guess at some of the variable names, but only the menu's background color has changed.

Maybe someone knows how to change other attributes such as border color, radius, menu-item-height, padding, and add in the 3D vertical column line?

Thank you!

Here is my first attempt at the code...

#PersonalToolbar menupopup {
  /* Text color */
  --menu-color: #000 !important;
  --arrowpanel-color: #000 !important;
  --panel-color: #000 !important;
  /* Background color */
  --menu-background-color:  #f0f0f0 !important;
  --arrowpanel-background: #f0f0f0 !important;
  --panel-background: #f0f0f0 !important;
  /* Border color (if any) */
  --menu-border-color: #606060 !important;  /* not working on boomarks toolbar menu */
  --menu-border: 1px !important;  /* not working on boomarks toolbar menu */
  --menu-border-radius: 0px !important;  /* not working on boomarks toolbar menu */
}
/*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/
menupopup:not(.in-menulist) > menuitem, 
menupopup:not(.in-menulist) > menu {
  padding-block: 0px !important; /* reduce to 3px, 2px, 1px or 0px as needed */ 
  min-height: unset !important; /* v92.0 - for padding below 4px */
}

Asked by Slouch 59 minutes ago

Double icons on Stop & Reload buttons when using custom icons

When reloading a page, or navigating to a new page, the default Stop icon momentarily appears over my own Reload icon, and the default Reload icon also appears over my St… (read more)

When reloading a page, or navigating to a new page, the default Stop icon momentarily appears over my own Reload icon, and the default Reload icon also appears over my Stop icon.

Please see attached image and animation.

Any idea if this is a minor bug?

Below is my code to split the Reload button into Reload & Stop buttons, then to add text to the navigation buttons, and finally to add icons to the navigation buttons.

This anomaly happens whether or not I split the Reload & Stop buttons. With just a single Reload button, I'm also seeing the default Reload icon appear over my own.

Thank you.

/* ---------- SPLIT RELOAD BUTTON INTO RELOAD & STOP ------------- */
#reload-button, #stop-button {
   display: inherit !important; 
} 
#reload-button > .toolbarbutton-icon {
  -moz-appearance: none !important; 
}


/* ------------ ADD TEXT LABELS TO NAVIGATION TOOLBAR BUTTONS --------------- */
/* Shows both icon and label for toolbarbuttons */
toolbar .toolbarbutton-1[label]{
  flex-direction: column;
  align-items: center !important;
}
toolbar .toolbarbutton-1[label]:not([disabled]):hover{ background-color: var(--toolbarbutton-hover-background) !important; }
toolbar .toolbarbutton-1[label] > .toolbarbutton-icon,
toolbar .toolbarbutton-1[label] > .toolbarbutton-badge-stack{
  padding: var(--toolbarbutton-inner-padding) !important;
  padding-bottom: 0px !important;
  height: calc(var(--toolbarbutton-inner-padding) + 16px) !important;
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
toolbar .toolbarbutton-1[label] > .toolbarbutton-text {
  display: flex !important;
  min-height: 16px !important;
  padding-top: 3px !important;
  padding-bottom: 6px !important;
  background-color: transparent !important;
  overflow: hidden;
  width: 9ch; /* changes space between buttons */
}
toolbar .toolbarbutton-1[label] > .toolbarbutton-text::before{
  margin-inline: auto;
 }
:root:not([uidensity="compact"]) toolbar .toolbarbutton-1[label] > .toolbarbutton-text{ padding: 2px !important; }


/* ------------ ADD CUSTOM ICONS TO NAVIGATION TOOLBAR BUTTONS ----------- */
#back-button {
   list-style-image: url("image/back.png") !important;
   padding-top: 8px !important;
}
#back-button image{
   max-height: 16px !important; 
   max-width: 16px !important;
   padding: 0px !important;
   margin-bottom: 3px !important;
}
#forward-button {
   list-style-image: url("image/forward.png") !important;
   padding-top: 8px !important;
}
#forward-button image{
   max-height: 16px !important; 
   max-width: 16px !important;
   padding: 0px !important;
   margin-bottom: 3px !important;
}
#reload-button {
   list-style-image: url("image/reload.png") !important;
   padding-top: 8px !important;
}
#reload-button image{
   max-height: 16px !important; 
   max-width: 16px !important;
   padding: 0px !important;
   margin-bottom: 3px !important;
}
#stop-button {
   list-style-image: url("image/stop.png") !important;
   padding-top: 8px !important;
}
#stop-button image{
   max-height: 16px !important; 
   max-width: 16px !important;
   padding: 0px !important;
   margin-bottom: 3px !important;
}
#print-button {
   list-style-image: url("image/print.png") !important;
   padding-top: 8px !important;
}
#print-button image{
   max-height: 16px !important; 
   max-width: 16px !important;
   padding: 0px !important;
   margin-bottom: 3px !important;
}
#home-button {
   list-style-image: url("image/home.png") !important;
   padding-top: 8px !important;
}
#home-button image{
   max-height: 16px !important; 
   max-width: 16px !important;
   padding: 0px !important;
   margin-bottom: 3px !important;
}

Asked by Slouch 2 days ago

Last reply by Slouch 1 day ago

Can't launch my url in Selenium-controlled Firefox browser process

Receiving this error: Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window. My desktop app redirects user to a … (read more)

Receiving this error: Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window.

My desktop app redirects user to a login screen on Firefox, and I want to automate it using Selenium. My current workflow: 1. Launch Selenium-controlled Firefox browser using GeckoDriver 2. Click on "Login" button on my desktop app. The desktop app launches the login screen on user's OS default browser using the default user profile (in which case I set in profiles.ini to the temp profile copy created by Selenium). 3. (ERROR) Popup on the above error is displayed

Code: import configparser import os

web_driver = selenium_webdriver.Firefox(executable_path='C:\\Users\\mnxl\\.wdm\\drivers\\geckodriver\\win64\\v0.34.0\\geckodriver') profile = web_driver.capabilities['moz:profile']

  1. Path to the Firefox profiles folder

profiles_path = os.path.expanduser(r'~\AppData\Roaming\Mozilla\Firefox')

  1. Path to the profiles.ini file

profiles_ini_path = os.path.join(profiles_path, 'profiles.ini')

  1. Read the profiles.ini file

config = configparser.ConfigParser() config.read(profiles_ini_path)

  1. Find the section for the profile to set as default

for section in config.sections():

   if config.has_option(section, 'Path') and config.get(section, 'Path') == profile:
       # Set this profile as the default
       config.set(section, 'Default', '1')
   else:
       # Set all other profiles as not default
       config.set(section, 'Default', '0')
  1. Write the changes back to the profiles.ini file

with open(profiles_ini_path, 'w') as configfile:

   config.write(configfile)

Asked by Magdeline Ng 25 minutes ago

Firefox takes ~5 minutes to startup (even the Profile Manager and in every possible modes)

Firefox takes about 5 minutes to load every it launches, before working smoothly like it should. This problem occured first time yesterday morning, and I have no idea wha… (read more)

Firefox takes about 5 minutes to load every it launches, before working smoothly like it should. This problem occured first time yesterday morning, and I have no idea what could have caused it.

It happens :

  • when I launch firefox normally (whatever the profile)
  • when I launch it from the terminal (it provides no output at all)
  • when I tell it to launch the Profile Manager (5 minutes to see the Profile Manager appear, then 5 more minutes to launch firefox using the selected profile)

It does not happen :

  • when I click "New Window" inside an existing firefox process
  • when I call `firefox --help` from the terminal

Here's what I've tried :

  • First, I've seen pretty much every article from Mozilla Support, Reddit or SuperUser (writing this question is kind of my last resort)
  • I've tried removing and then reinstalling Firefox from Flatpak, from the Fedora repos (using `sudo dnf install firefox`) and using the manual install via the archive (v125)
  • I've tried downgrading firefox (when using the package manager install) from v125 to v124
  • I've also tried the Firefox Developer Edition, same problem here
  • I've tried using the "Refresh Firefox" feature and restarting in Troubleshoot Mode (both are also affected by the slow startup, which makes them particularly painful to execute)
  • I've tried manually deleting the `~/.mozilla/` folder (= manually deleting my profiles)

When firefox launches, it does not freezes my OS and does not seem to use many system ressources : CPU usage is normal, RAM as well, and it does not seem to read many things from the disk as well (I've seen some threads where this was the issue).

And here is something interesting that I discovered :

  • loading (including refreshing) `about:profiles` is also slow and this time freezes firefox (OS reports it as not responding, I can't switch tabs and I can't see my mouse). Other about pages seem to work fine (although I did not try them all)

Thanks !

PS : Even if I think it has nothing to do with the issue, I prefer to mention it here : I was messing with virtual machines yesterday when the issue occured for the first time. My disk got full at some point and I don't know but it might have messed with firefox. At this stage, I had not deleted any files that could relate somehow to Firefox, that's why I doubt it would have caused anything harmful to Firefox. (instead, I mounted an empty partition from my disk to get some space)

Asked by Martin Heywang 2 days ago

Last reply by Martin Heywang 2 days ago

Firefox munches computer memory pointlessly - any ideas?

Dear Anyone. I've got Firefox 125.0.3 - but ALL Firefoxes have ALWAYS done this! I've got 12 gig RAM. I've been browsing for - say - a couple of hours or so, I look at… (read more)

Dear Anyone.

I've got Firefox 125.0.3 - but ALL Firefoxes have ALWAYS done this!

I've got 12 gig RAM. I've been browsing for - say - a couple of hours or so, I look at how much RAM I've got spare and it's down to about 2 gig. So I close Firefox via Task Manager and all my RAM comes back. Then I REOPEN Firefox and all the old tabs are restored - but this time around, hardly using any memory! Which tells me the hewge memory munch was unnecessary the time before.

Firefox has ALWAYS done this from day 1. Nobody's ever fixed it, through all these updates. I've got the latest version and it's STILL memory-munching. How do you stop it? It's just annoying because you can be using other software that crashes because it runs out of memory, because Firefox has munched all its memory for no reason.

This is just a question, I'm Asperger's, I sometimes sound like I'm asking a leading/angry question but I'm not. (Not this time anyway!) Is there a workaround for this memory-munching problem, is it ever going to be fixed or is it too deeply embedded into Firefox's programming TO be fixed?

Yours respectfully

Chris.

Asked by ulrichburke 5 hours ago

Last reply by TyDraniu 1 hour ago

Speedometer2.1 My Firefox Score: 161 My Chrome Score: 380

Speedometer2.1 My Firefox Score: 161 My Chrome Score: 380 why im missing? its normal? same hardware, no extensions. how can i increase my firefox score? i have Ryzen … (read more)

Speedometer2.1 My Firefox Score: 161 My Chrome Score: 380

why im missing? its normal? same hardware, no extensions.

how can i increase my firefox score?

i have Ryzen 5600 CPU and Radeon 6600 VGA and M2 SSD

Asked by moderndefender 2 hours ago

The pause button on the keyboard doesn't stop the video in Firefox.

When I press the pause button on my keyboard, it doesn't stop the YouTube video like it used to. I'm not sure why it stopped working. I've checked the key, and it works f… (read more)

When I press the pause button on my keyboard, it doesn't stop the YouTube video like it used to. I'm not sure why it stopped working. I've checked the key, and it works fine in Chrome.

Asked by Robert Clave 3 days ago

Last reply by Robert Clave 2 hours ago

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

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; }

Asked by Slouch 3 hours ago

Disabling bookmark bar Favicons in 2024

Hello there! I recently had to reinstall Firefox as my original drive died. I had used about:config to disable the bookmark bar favicons as I have a visual aesthetic I e… (read more)

Hello there!

I recently had to reinstall Firefox as my original drive died. I had used about:config to disable the bookmark bar favicons as I have a visual aesthetic I enjoy on my computer.

Now in 2024, it seems that all of the settings I previously used are no longer functioning when toggling them to false within about:config. They were browser.chrome.favicon, and, browser.chrome.site_icons .

Doing searches, all I can find are tips and tricks from many versions ago, some dating all the way back to 2007.

Does anyone know how, in the current version of Fires, which at the time of this writing is 125.0.3 to remove the favicons? I have attached a pic of the look I am going for, which is the default globe icon, instead of the annoying favicon. I tried the userChrome.css trick, but it completely removed the globe icon as well.

I know there has to be a new setting in about:config that will work, I just can't seem to find it.

Any help would be most welcome! And thank you!

Asked by Kojimada 5 hours ago

Last reply by cor-el 4 hours ago

Theme

I choose a new theme. After a while, I close Firefox. When I start Firefox again, my chosen theme appears briefly, then the default theme replaces it. Why? FYI: it doesn'… (read more)

I choose a new theme. After a while, I close Firefox. When I start Firefox again, my chosen theme appears briefly, then the default theme replaces it. Why? FYI: it doesn't happen with just one theme.

Asked by Iridium.throne 6 hours ago

Is it normal for bookmarks to take this long to load on startup?

I am using the latest version of firefox nightly. I notice this on another PC that shares the same profile. However one of my PCs doesn't take this long and it uses the… (read more)

I am using the latest version of firefox nightly. I notice this on another PC that shares the same profile. However one of my PCs doesn't take this long and it uses the same profile as well. It also seems that the pinned tabs are not loading correctly because I get errors with those pages too.

https://imgur.com/a/6IIyTJc

Asked by gsrgtrdg4565653 6 hours ago

Unable to sign in Qobuz from few days ago

I was unable to sign in Qobuz from yesterday. I have been using Firefox ver 115 to play streaming music from Qobuz on my Windows 8.1 PC as its sound quality is better t… (read more)

I was unable to sign in Qobuz from yesterday. I have been using Firefox ver 115 to play streaming music from Qobuz on my Windows 8.1 PC as its sound quality is better than other browsers. Yesterday, I found nothing happened after clicked the SIGN IN button on Qobuz's login page, however I had no problem using Google Chorme to login.

So I uninstalled/re-installed Firefox, and tried different older/newer versions, still didn't work.

I tried another PC running Windows 10, with Firefox ver 124.0.2, got the problem.

Please fix the problem ASAP, Firefox team. Thanks.

Its purer sound is the main reason I use firefox, instead of other browsers.

Asked by s2222440 3 days ago

Last reply by cor-el 7 hours ago

Instagram page won't load.

Instagram page won't load. Doesn't load in Edge either. The proxy setting is off. It was loading yesterday, then today it won't. No malware detected by Mcafee or Spyhunte… (read more)

Instagram page won't load. Doesn't load in Edge either. The proxy setting is off. It was loading yesterday, then today it won't. No malware detected by Mcafee or Spyhunter. My account is working fine from my phone.

Asked by djrutger444 7 hours ago