搜尋 Mozilla 技術支援網站

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

Learn More

Borderline between text bar and tab bar.

  • 1 回覆
  • 0 有這個問題
  • 最近回覆由 Beltion

more options

So i wanted to remove borderline between text bar and tab bar. After some googling i manege to do so by console(contl+shift+alt+i), in string "--tabs-navbar-separator-color: light-dark(rgba(0,0,0,.1), rgba(0,0,0,.3));" i change 3 to 0 and borderline gone. But every time i restart browser is all back. Is there any way to make it permanent ?

So i wanted to remove borderline between text bar and tab bar. After some googling i manege to do so by console(contl+shift+alt+i), in string "--tabs-navbar-separator-color: light-dark(rgba(0,0,0,.1), rgba(0,0,0,.3));" i change 3 to 0 and borderline gone. But every time i restart browser is all back. Is there any way to make it permanent ?

被選擇的解決方法

So in the end i just ask chatGPT and it works... Step-by-Step Guide

   Enable userChrome.css:
       Open Firefox and type about:config in the address bar and press Enter.
       Click "Accept the Risk and Continue".
       Search for toolkit.legacyUserProfileCustomizations.stylesheets.
       Double-click the entry to set it to true.
   Find Your Firefox Profile Folder:
       Type about:profiles in the address bar and press Enter.
       Locate the profile you are using (it’s usually the one marked as "Default Profile").
       Under the profile, click "Open Folder" (this will open the profile folder in your file explorer).
   Create chrome Folder:
       In your profile folder, check if a folder named chrome exists. If it doesn’t, create a new folder and name it chrome.
   Create/Edit userChrome.css:
       Inside the chrome folder, create a new file named userChrome.css if it doesn’t already exist.
       Open userChrome.css in a text editor (e.g., Notepad, Notepad++, VS Code).
   Add Custom CSS:
       Add the following CSS code to the userChrome.css file to remove the separator:
       css
       :root {
         --tabs-navbar-separator-color: rgba(0, 0, 0, 0) !important;
       }
   Save and Restart Firefox:
       Save the userChrome.css file.
       Restart Firefox to see the changes take effect.

Summary

By enabling the userChrome.css file, adding the custom CSS with !important, and restarting Firefox, you can permanently remove the border line between the text bar and the tab bar. This ensures that your custom style is applied consistently across sessions.

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

So in the end i just ask chatGPT and it works... Step-by-Step Guide

   Enable userChrome.css:
       Open Firefox and type about:config in the address bar and press Enter.
       Click "Accept the Risk and Continue".
       Search for toolkit.legacyUserProfileCustomizations.stylesheets.
       Double-click the entry to set it to true.
   Find Your Firefox Profile Folder:
       Type about:profiles in the address bar and press Enter.
       Locate the profile you are using (it’s usually the one marked as "Default Profile").
       Under the profile, click "Open Folder" (this will open the profile folder in your file explorer).
   Create chrome Folder:
       In your profile folder, check if a folder named chrome exists. If it doesn’t, create a new folder and name it chrome.
   Create/Edit userChrome.css:
       Inside the chrome folder, create a new file named userChrome.css if it doesn’t already exist.
       Open userChrome.css in a text editor (e.g., Notepad, Notepad++, VS Code).
   Add Custom CSS:
       Add the following CSS code to the userChrome.css file to remove the separator:
       css
       :root {
         --tabs-navbar-separator-color: rgba(0, 0, 0, 0) !important;
       }
   Save and Restart Firefox:
       Save the userChrome.css file.
       Restart Firefox to see the changes take effect.

Summary

By enabling the userChrome.css file, adding the custom CSS with !important, and restarting Firefox, you can permanently remove the border line between the text bar and the tab bar. This ensures that your custom style is applied consistently across sessions.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題