Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 2 har detta problem
  • 10 visningar
  • Senaste svar av 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

Alla svar (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.