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

Mozilla 도움말 검색

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

자세히 살펴보기

userchrome.css: Make Bookmark Toolbar visible in Fullscreen Mode

more options
Can I add a rule to
userchrome.css
that will force the Bookmarks Toolbar to be visible, even in fullscreen mode or Kiosk Mode? I believe I have seen the same question here previously but it has been deleted after the asker failed to hide the "
Can I add a rule to <pre>userchrome.css</pre> that will force the Bookmarks Toolbar to be visible, even in fullscreen mode or Kiosk Mode? I believe I have seen the same question here previously but it has been deleted after the asker failed to hide the "

모든 댓글 (6)

more options

I am sorry, a formatting error caused my post to be cut short. Here is the rest of the question:

...I believe I have seen the same question here previously but it has been deleted after the asker failed to hide the "Other Bookmarks" folder and went for a workaround. I would not mind the folder but sadly, I cannot find the original question (answered by jscher2000 or cor-el, if I remember correctly) anymore. Other custom rules, such as

#PersonalToolbar {
	background-color: #000000 !important;
	color: #808080 !important;
	font-size: 6pt !important;
}
work, but adding
visibility: visible !important;
into the curly-bracketed block, as suggested elsewhere, doesn't work. Maybe there is something else I'm missing, or the visibility property of #PersonalToolbar has been deprecated.

글쓴이 Václav Trpišovský 수정일시

more options

Normally, full screen works like this:

  • No toolbars
  • When toolbars are rolled down, no Bookmarks Toolbar

Do you want the Bookmarks Toolbar to show when the toolbars are rolled down, or all the time?

more options

jscher2000 said

Do you want the Bookmarks Toolbar to show when the toolbars are rolled down, or all the time?

All the time.

more options

Hmm, I can either show the bar when toolbars are rolled down, or when they are not rolled down, but not both.

In other words, you can use either:

/*
   Allow Bookmarks Toolbar in F11 full screen when toolbars are rolled down
*/
#navigator-toolbox[inFullscreen="true"] #PersonalToolbar {
  visibility: unset !important;
}


or

/*
   Allow Bookmarks Toolbar in F11 full screen when toolbars are rolled up
*/
#navigator-toolbox[inFullscreen="true"][style*="margin-top"] #PersonalToolbar {
  visibility: unset !important;
}


but not both.

I don't know how to get both.

more options

I accidentally edited out a bit of information on why it's tricky:

Firefox now detects that the Bookmarks Toolbar was shown when the toolbars were rolled down and increases the negative top margin to hide it when going back to full screen, preventing it from sticking down into view.

more options
Well, I will be using Kiosk Mode for my application, and the toolbars will be forcefully rolled up. Therefore, the second variant of your code is what I needed. I also needed to remove a line of
visibility: visible !important;
in my userchrome.css file that I had left over, as it overwrote the assigned value.

I will leave the question marked as unanswered to prevent the thread from locking in case somebody figures out how to force visibility in either case. Personally, my issue was fixed, though.

By the way, for people running a real public-facing kiosk, using this is probably a bad idea since people might add bookmarks by dragging links from the webpage to the Bookmarks Toolbar, and exploiting the feature especially if no URL filtering or other restrictions are present. You may get away with it by rebooting regularly (shut down for the night) and using a tmpfs "RAM disk" - a popular option among Raspberry Pi users where the system disk is write-disabled, and the computer always boots into the same state as after your setup.