Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox 133 update moved tab location, again.

more options

I prefer the tabs be below the bookmark bar, and successfully modified the CSS file to do this some time back. Now update 133 has once again pushed them up below the menu bar. What do I have to do to get them back where I want them this time? And why can't you just leave the tab location preference alone when doing updates?

I prefer the tabs be below the bookmark bar, and successfully modified the CSS file to do this some time back. Now update 133 has once again pushed them up below the menu bar. What do I have to do to get them back where I want them this time? And why can't you just leave the tab location preference alone when doing updates?

선택된 해결법

This code in userChrome.css should be sufficient in current (and some older) releases.

/* TABS: POSITION - below NavBar */
#TabsToolbar {
  /*display: block !important; */ /* not needed in 113+ */
  position: absolute !important;
  bottom: 0;
  width: 100vw !important;
}

/*[65-107]*//* #tabbrowser-tabs {width: 100vw !important;} */

/* navigator-toolbox: PADDING - reserve space */
: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; /*OPTIONAL*/
}

/* Window Controls */
#TabsToolbar #window-controls {display: none !important;}

/* INDICATORS - HIDE */
.private-browsing-indicator {display: none !important;}
.accessibility-indicator    {display: none !important;}

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (7)

more options

You can check if there is an update available from the creator of your CSS code, there might be a link in the code where you can get the latest version.

You can set this pref to false in about:config to disable userChrome.css and userContent.css.

도움이 되셨습니까?

more options

This worked for me:

/* TABS on bottom */

  1. navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {
-moz-box-ordinal-group: 10;

}

  1. TabsToolbar {
-moz-box-ordinal-group: 1000 !important;

}

  1. TabsToolbar {
display: block !important;
position: absolute !important;
bottom: 0 !important;
width: 100vw !important;

}

  1. main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {
padding-bottom: var(--tab-min-height) !important;

}

  1. tabbrowser-tabs {
width: 100vw !important;

}

  1. TabsToolbar #window-controls {
display: none !important;

}

도움이 되셨습니까?

more options

Cor-el - Last update regarding tabs on userChrome.org was the one I used for versions before 133, that's stopped working.

Minnie - When I copined your recommendation, the "1. " in front of some lines didn't copy. Do they need to be there? Tried pasting your recommendation into userChrome.css without them and the tabs still come out on top. Did you change anything else, besides adding the code you suggested?

도움이 되셨습니까?

more options

PIckAnotherID said

Cor-el - Last update regarding tabs on userChrome.org was the one I used for versions before 133, that's stopped working.

Sorry, I don't maintain code for moving tabs because it changes too often. You can try code you find here, or one of these two major repositories:

For personal assistance with userChrome.css questions, I suggest this subreddit: https://www.reddit.com/r/FirefoxCSS/

As for why there need to be changes at all, the Firefox interface was built using proprietary code rather than standard HTML and CSS, and over time, they are modernizing different parts of it. For custom CSS purposes, it certainly would have been convenient if that were done all at once, but too late now.

도움이 되셨습니까?

more options

선택된 해결법

This code in userChrome.css should be sufficient in current (and some older) releases.

/* TABS: POSITION - below NavBar */
#TabsToolbar {
  /*display: block !important; */ /* not needed in 113+ */
  position: absolute !important;
  bottom: 0;
  width: 100vw !important;
}

/*[65-107]*//* #tabbrowser-tabs {width: 100vw !important;} */

/* navigator-toolbox: PADDING - reserve space */
: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; /*OPTIONAL*/
}

/* Window Controls */
#TabsToolbar #window-controls {display: none !important;}

/* INDICATORS - HIDE */
.private-browsing-indicator {display: none !important;}
.accessibility-indicator    {display: none !important;}

도움이 되셨습니까?

more options

Cor-el - That did the trick! Thank you very much.

도움이 되셨습니까?

more options

PIckAnotherID said

Minnie - When I copined your recommendation, the "1. " in front of some lines didn't copy. Do they need to be there?

That's a quirk of the markup this forum uses. If you type a line starting with a hash (#) it thinks you are starting a numbered list and changes it to "1." You need to change the "1."s to "#"s

To make a line like "#tabbrowser-tabs {" display correctly you actually need to type "#tabbrowser-tabs {"

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.