顯示下列標籤的問題: 顯示所有問題
  • 已解決
  • 封存

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 ve… (閱讀更多)

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

Slouch 於 1 年前 詢問

Slouch 於 1 年前 解答

  • 已解決
  • 封存

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.

Imot 於 2 年前 詢問

cor-el 於 2 年前 解答

  • 封存

Firefox shows red tint in images that I upload

When I upload an image with Firefox, it typically shows a red tint. I've seen similar reports from decades ago so I disabled `gfx.color_management.mode` in `about:config`… (閱讀更多)

When I upload an image with Firefox, it typically shows a red tint. I've seen similar reports from decades ago so I disabled `gfx.color_management.mode` in `about:config`, but that didn't help, even after restarting the browser and the computer. I disabled a couple of related settings, but that also didn't help. What else could I try?

leonhard 於 1 年前 詢問

zeroknight 最近回覆於 1 年前

  • 封存

Replace context menu navigation icons with text only

Hi All, Is there a way to replace the navigation icons on the context menu with their text-only counterparts? I've tried the following code segments which provide less-… (閱讀更多)

Hi All,

Is there a way to replace the navigation icons on the context menu with their text-only counterparts?

I've tried the following code segments which provide less-than-optimal results.

This one which worked in FF 88, now removes the icons, but leaves 4 blank buttons in a row with no text...

#context-back image,
#context-forward image,
#context-reload image,
#context-stop image,
#context-bookmarkpage image {display: none !important;}}


This one completely removes the options, but I would like to keep them, and replace them with their text counterparts

#context-navigation,
#context-sep-navigation {
   display:none !important;
}


Please see attached images for the before and after of what I'm trying to achieve.

Might be nice to have the blank icon column to the left of these 4 items so they all line up with the items below, but I can live without that if it's not possible.

Any help is appreciated!

Slouch 於 1 年前 詢問

Slouch 最近回覆於 1 年前

  • 封存

userchrome.css

Trying to recover from a hard drive crash. Had to buy a new desktop with Windows 11 Pro (looking to be a bad move). I downloaded/updated to Firefox 126.0 (maybe also look… (閱讀更多)

Trying to recover from a hard drive crash. Had to buy a new desktop with Windows 11 Pro (looking to be a bad move). I downloaded/updated to Firefox 126.0 (maybe also looking to be a bad move).

Have my last "working" userChrome file (it took me weeks to perfect this to my needs).

I am looking for: C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\

but there is no "AppData" folder. And there is no existing userChrome.css file, anywhere!

Is the functionality I am looking for a thing of the past?

Is Firefox not completely supported by Windows 11?

If so, what is the last version of Firefox that will still support userChrome.css?

AIVAS 於 1 年前 詢問

AIVAS 最近回覆於 1 年前

  • 已解決
  • 封存

No option for picture in picture on twitch

I've just switched to firefox from brave, and theres no button on twitch to enable picture in picture. Using the keyboard shortcut (cmd+option+shift+]) works, but I'd muc… (閱讀更多)

I've just switched to firefox from brave, and theres no button on twitch to enable picture in picture. Using the keyboard shortcut (cmd+option+shift+]) works, but I'd much rather click something on the screen. On brave there used to be a picture in picture button alongside settings, theatre mode, and fullscreen buttons, but on firefox this has been replaced by a clip button. There's no option for it if I right click (this works on youtube), and no option in the address bar for either twitch or youtube. I've tried disabling all my extensions and lowering protections but nothing seems to work.

Jacob 於 1 年前 詢問

zeroknight 於 1 年前 解答

  • 已解決
  • 封存

Embedded videos

Embedded videos missing in Firefox but show up in Microsoft Edge. How to fix it? Example: https://scheerpost.com/2024/03/09/you-are-betraying-your-ancestors-a-message-to… (閱讀更多)

manny52 於 1 年前 詢問

jonzn4SUSE 於 1 年前 解答

  • 已解決
  • 封存

How to completely remove the tab bar

How can I completely remove the tab bar and regain 3/4 of an inch of screen space. It would be nice if Mozilla would just have a on/off button for it. I've tried creating… (閱讀更多)

How can I completely remove the tab bar and regain 3/4 of an inch of screen space. It would be nice if Mozilla would just have a on/off button for it. I've tried creating a folder called Chrome within my Firefox Profile folder. I then created a text file within that folder and named it userChrome.css. I put this string in the text file #tabbrowser-tabs { visibility: collapse !important; } This did not work, does anyone know the best method for getting rid of the annoying tab bar?

Thank you

simpleman2 於 2 年前 詢問

jscher2000 - Support Volunteer 於 2 年前 解答

  • 封存

Issues with Moving the "Find Bar"

I have read through all 3 of the following posts linked below on this issue, and cant make it out. I am trying to move the find bar to the top of firefox. Tried the real… (閱讀更多)

I have read through all 3 of the following posts linked below on this issue, and cant make it out.

I am trying to move the find bar to the top of firefox. Tried the really long codes suggested, and the short ones. Yes, I enabled "true" in the config settings. Added the chrome folder and text file, I think in the right section. Restarted firefox lots of times upon each code I tried, still not working.

Any ideas? thanks!

https://support.mozilla.org/ig/questions/1372399

https://gripfastistech.com/index.php/blog/82-move-findbar-to-top-firefox-69.html

https://www.reddit.com/r/FirefoxCSS/comments/11odffm/psa_incoming_changes_to_default_element/

JOEY61 於 1 年前 詢問

JOEY61 最近回覆於 1 年前

  • 已解決
  • 封存

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… (閱讀更多)

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

Slouch 於 1 年前 詢問

jscher2000 - Support Volunteer 於 1 年前 解答

  • 封存

New Addons blank on Firefox restart, return when disabled and enabled.

New addons on Firefox become blank on restarting the browser. They return when I manually disable and enable them once. How to fix this? Doesn't happen to older addons.… (閱讀更多)

New addons on Firefox become blank on restarting the browser.

They return when I manually disable and enable them once.

How to fix this? Doesn't happen to older addons.

nanup.personal+firefox 於 2 年前 詢問

nanup.personal+firefox 最近回覆於 2 年前

  • 封存

window.close() is not working

SLES 15.5 QU2 in Mozilla Firefox 115.8.0esr was not supporting window.close() even i added user_pref("dom.allow_scripts_to_close_windows", true); in user.js and prefs.js… (閱讀更多)

SLES 15.5 QU2 in Mozilla Firefox 115.8.0esr was not supporting window.close() even i added user_pref("dom.allow_scripts_to_close_windows", true); in user.js and prefs.js

Venkataiah ch 於 1 年前 詢問

Venkataiah ch 最近回覆於 1 年前

  • 封存

Bad/Rogue Current Session of Firefox (Windows 7) Redux

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that… (閱讀更多)

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that would work! So, I tried to 'cut and paste' my reply (on a smartphone) and I ended up losing even the email reply text so here is a reconstruction. I tried the suggestions in order and the first one didn't have a "Restore previous session" option and the second one had "Recently closed windows" greyed out! And, when I entered "about.support" in the address bar (top rightish), I received a notice that I couldn't reach Google (Remember that I don't currently have internet access on my laptop). So, no joy there either! Can I not just change some current setting to prevent Firefox v 115.9lesr from saving the current 'Windows' and Tabs so that, when I again open Firefox, the previous session 'Windows' and Tabs would be used?!?

balls69bc 於 1 年前 詢問

jscher2000 - Support Volunteer 最近回覆於 1 年前

  • 封存

Suggestion from Browsing History should not include "Base URL"

Hi all Firefoxers, There are a few sites that I always access via a URL that could look like : https://device.domain.com/admin/ When I went to visit that device, … (閱讀更多)

Hi all Firefoxers,

There are a few sites that I always access via a URL that could look like :

https://device.domain.com/admin/

When I went to visit that device, typing in the URL bar "device.domain..." , Firefox's 1st default suggestion shows as https://device.domain.com/

The problem is that I never visited that site, the way to access this device is https://device.domain.com/admin/ - there's no way to reconfigure the device and have an auto-redirect to .../admin location.

https://device.domain.com/ is not in my Browsing History nor do I have an open-tab. In the settings Privacy->Address Bar, disabling "Browsing History" removes https://device.domain.com/ from the suggestion list but it also removes all suggestion from the history. This is the expected behavior, the bug required fix isn't related to this.

If the "Base URL" isn't saved in the Browsing History, how can someone tell Firefox to only suggest absolute entries from the history?

somehacker 於 1 年前 詢問

netjeff 最近回覆於 1 年前

  • 封存

My spellcheck languages keep disappearing

Every time I restart firefox, my spellchecker languages disappear, leaving me only with one - the addons are still installed, they're just not available to be selected. E… (閱讀更多)

Every time I restart firefox, my spellchecker languages disappear, leaving me only with one - the addons are still installed, they're just not available to be selected. Even now I can't spellcheck in english. Please help.

von Boomslang 於 1 年前 詢問

von Boomslang 最近回覆於 1 年前

  • 封存

Disable automatic download when browsing

How do I stop firefox from automatically downloading files from the internet when I click on them - without even asking me if I want to download them in the first place. … (閱讀更多)

How do I stop firefox from automatically downloading files from the internet when I click on them - without even asking me if I want to download them in the first place. In "Applications", selecting "Always Ask" in "Choose how firefox handles files etc" does not work. Firefox never asks. If it cannot be disabled, I will have to stop using Firefox.

whellebrand 於 1 年前 詢問

zeroknight 最近回覆於 1 年前

  • 已解決
  • 封存

Removing the ⌘+J shortcut

I am trying to change the keyboard shortcut of the Tools → Downloads menu (opening up the downloads). I accidentally click that sometimes and it is quite annoying, so I … (閱讀更多)

I am trying to change the keyboard shortcut of the Tools → Downloads menu (opening up the downloads).

I accidentally click that sometimes and it is quite annoying, so I thought I'll switch the shortcuts to a more complex one to avoid these mistakes ^+⌘+J and when I remap that in the Keyboard preferences, the new shortcuts shows up in the menu, and it starts working but the old shortcut ⌘+J is still working.

I believe that is a bug in Firefox.

István Karaszi 於 2 年前 詢問

jscher2000 - Support Volunteer 於 2 年前 解答

  • 已解決
  • 封存

scam add-on?

I went to a normal retail website, and got this page that appeared to be from Firefox, telling me to download an add-on for security. I declined. but now when I try to go… (閱讀更多)

I went to a normal retail website, and got this page that appeared to be from Firefox, telling me to download an add-on for security. I declined. but now when I try to go to that website, I get re-directed to some strange websites. How do I fix this?

knit2utah 於 1 年前 詢問

knit2utah 於 1 年前 解答

  • 封存

FireFox homepage background image

Hello there, Iam facing a problem with changing Firefox homepage background. I tried every solution, tutorial, oldposts etc. nothing seems to work, here is what I tried. … (閱讀更多)

Hello there, Iam facing a problem with changing Firefox homepage background. I tried every solution, tutorial, oldposts etc. nothing seems to work, here is what I tried. -1- The chrome folder is in the right folder. -2- the naming of both CSS files userChrome, userContent. -3- enabled CSS files at startup -4- search for both CSS files in the browser toolbox for some reason I cannot find both CSS files, even though they are in the chrome directory. Also, I have 2 chrome folders one of them is located here. "AppData\Roaming\Mozilla\Firefox\Profiles\shaf5qn0.default-release\storage\permanent\chrome" the other one I created myself which is here "AppData\Roaming\Mozilla\Firefox\Profiles\shaf5qn0.default-release\chrome" I tried to delete the first one but I cant, I get an error that this file is being used even though I did close Firefox. What I am missing here?

Yassen Redwan 於 1 年前 詢問

Agent virtuel 最近回覆於 1 年前

  • 封存

Tab Groups replacement app

Does anyone out there know of a replacement for the Tab Groups replacement app? I have not updated Firefox past the v.55 only because I don't think it would work w/ any … (閱讀更多)

Does anyone out there know of a replacement for the Tab Groups replacement app? I have not updated Firefox past the v.55 only because I don't think it would work w/ any newer versions. I have found this to be the very best app I have ever used as I need to do a lot of research online and need something that will show all the windows and tabs on one page so I can easily go back and forth to a particular group quickly. Without this, I would have to spend hours finding the info and would only have one window in which to work. Ideally, a replacement would be able to use all the window/tab info I now have. Is there some way I could use this in some sort of legacy mode? I have several legacy apps, but can't readily recall how to do so. I think I tried this w/ the Tab Groups app and it didn't work, but am not certain. Suggestions much appreciated! Thanks, Wolfgang

Wolfgang 於 2 年前 詢問

jscher2000 - Support Volunteer 最近回覆於 1 年前