Open places.xhtml at folder "Bookmarks Menu" immediately
When I open my bookmarks in the tab chrome://browser/content/places/places.xhtml , the folder "All bookmarks" is selected by default. How can I make "Bookmarks Menu", instead, to be pre-selected?
Many thanks for explanations and hints, Yves
Modified
All Replies (3)
Note that opening the chrome URI places.xhtml in a tab is not recommended as this can cause issues if you edit bookmarks.
Opening the bookmarks menu folder via the chrome://browser/content/places/places.xhtml URI is not possible. You can open the Library with this folder selected via code in the Browser Console (the console keeps a command histry).
- PlacesCommandHook.showPlacesOrganizer('BookmarksMenu');
- openDialog("chrome://browser/content/places/places.xhtml","", "chrome,toolbar=yes,dialog=no,resizable", "BookmarksMenu");
Thank you so much, cor-el.
Agreed, with bookmarks in a tab sometimes actions may fail. I use it for limited purposes only.
Browser console with command prompt is a great idea. I never thought of it. Your commands return a separate window, however. Did I make a mistake, or is there an alternative to open them in a tab?
Best regards, Yves
When you open the Library in a tab like you previously did then you won't be able to open a specific folder like when opened via the Browser Console.