본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

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

자세히 살펴보기

Firefox 65 UserChrome.css Not working

  • 2 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: MarkusBorsy

more options

Hello, For quite a while I was using a custom UserChrome.css that removed minimize\maximize\close buttons from the tab bar. It looked like this:

/* Firefox userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* Hide min, max, close in title bar */

  1. titlebar-min, #titlebar-max, #titlebar-close

{ display: none !important; }

/* Hide minimize, restore, close in full screen */

  1. minimize-button, #restore-button, #close-button

{ display: none !important; }

But after latest update (to Firefox 65 I believe) the app doesn't recognize the code in UserChrome.css.

I understand from Fx 65 change notes there were some changes to how Firefox parses css, isn't it?

What should I do to make UserChrome.css work?

I would appreciate any other method of removing minimize\maximize\close buttons from the tab bar if it isn't doable with UserChrome.css now.

EDIT: forum formatting doesn't show the code correctly. Here's pastebin: https://pastebin.com/1cBDgCJs

Hello, For quite a while I was using a custom UserChrome.css that removed minimize\maximize\close buttons from the tab bar. It looked like this: <code> /* Firefox userChrome.css */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* Hide min, max, close in title bar */ #titlebar-min, #titlebar-max, #titlebar-close { display: none !important; } /* Hide minimize, restore, close in full screen */ #minimize-button, #restore-button, #close-button { display: none !important; } </code> But after latest update (to Firefox 65 I believe) the app doesn't recognize the code in UserChrome.css. I understand from Fx 65 change notes there were some changes to how Firefox parses css, isn't it? What should I do to make UserChrome.css work? I would appreciate any other method of removing minimize\maximize\close buttons from the tab bar if it isn't doable with UserChrome.css now. EDIT: forum formatting doesn't show the code correctly. Here's pastebin: https://pastebin.com/1cBDgCJs

글쓴이 MarkusBorsy 수정일시

모든 댓글 (2)

more options

The selectors for the buttons in the title bar were changed to class names.

.titlebar-min, .titlebar-max, .titlebar-close 

If you want to hide them all then best would be to hide the container.

.titlebar-buttonbox-container {display:none!important;}

The IDs for the window control buttons haven't changed and that code should still work. In that case you also can hide the container that has these buttons.

#window-controls {display:none!important;}
more options

cor-el said

If you want to hide them all then best would be to hide the container.
.titlebar-buttonbox-container {display:none!important;}

Thank you! This worked.

Also I've tried #window-controls - it didn't work.