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!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 2 réponses
  • 2 ont ce problème
  • 10 vues
  • Dernière réponse par 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

Toutes les réponses (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.