Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

when using javascript window.open, bookmark toolbar icon doen't hide if its on nav toolbar

  • 2 回覆
  • 2 有這個問題
  • 10 次檢視
  • 最近回覆由 psoeima

more options

Hi, I'm dev a site that popups a window using the javascript function window.open. It doesnt show the bookmark toolbar in the open window even if its visible in the main window, and thats correct... I then custumized the nav toolbar buttons, and drag the "bookmark toolbar icons" from the bookmark toolbar to the nav toolbar. I then hide the bookmark toolbar and save some window space. Now my bookmark are shown on my nav toolbar, correct. But when I popup the window with the javascript window.open it hides the nav buttons but it doent hide the bookmarks on the nav toolbar! stange... It should have the same behaviour as the nav buttons and the bookmark toolbar that is hidding... What is going wrong? Many thanks for your time Pedro

Hi, I'm dev a site that popups a window using the javascript function window.open. It doesnt show the bookmark toolbar in the open window even if its visible in the main window, and thats correct... I then custumized the nav toolbar buttons, and drag the "bookmark toolbar icons" from the bookmark toolbar to the nav toolbar. I then hide the bookmark toolbar and save some window space. Now my bookmark are shown on my nav toolbar, correct. But when I popup the window with the javascript window.open it hides the nav buttons but it doent hide the bookmarks on the nav toolbar! stange... It should have the same behaviour as the nav buttons and the bookmark toolbar that is hidding... What is going wrong? Many thanks for your time Pedro

所有回覆 (2)

more options

You can't really prevent toolbars from showing up in a pop-up window, see:

There are also extensions with a setting to show them in a pop-up window.
I don't know what setting will cause the Bookmarks Toolbar items to get displayed or hidden on a pop-up window.

more options

Ok, I see that "personalbar" option hides the bookmark toolbar but there something not right in firefox behaviour because if the bookmarks are in the nav toolbar it is supose to have the same behaviour too... there is the "toolbar=no" option that hides all the nav toolbar buttons, but the bookmarks are still visible, even with the "personalbar=no" option combined. Its something that only happens if you move the bookmark to the nav toolbar so only if you customise your nav toolbar. I think its a bug... Thanks for the help anyway.