cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jmcken
Making moves
Status: New idea

With container tabs enabled, when you open the Bookmarks sidebar/toolbar and right-click a website link, the context menu includes “Open in New Container Tab >”, which lets you choose which container tab to open the website in. However, bookmark folders don’t include this context-menu item, so to open all links in a folder in the same container tab you have to right-click them all individually, which can get tedious depending on the number of links and how often you open them. To remedy this, it would be great if bookmark folders also included the “Open in New Container Tab >” item.

13 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

igorlogius
Making moves

@jmcken 

https://addons.mozilla.org/en-US/firefox/addon/open-bookmark-in-container-tab/

This addon adds a context menu for bookmark folder, you can  change its menu location via userChrome.css

jmcken
Making moves

@igorlogius Ah, interesting, didn’t know about that. Though seems it also adds a new “Open in Container Tab >” menu item on individual bookmarks, which already have that menu item, so that the same thing appears twice. Still, at least “Open ALL in Container Tabs >” works like a charm. Thanks for the recommendation.

(Still hope the functionality gets added natively to Firefox, though.)

igorlogius
Making moves

@jmcken 

> same thing appears twice

You can add this css rule 

 menuitem[id="placesContext_open:newprivatewindow""] { display: none !important; }

to your userChrome.css to hide the built-in entry.

jmcken
Making moves

@igorlogius Thanks for the reply.

1) Regarding your code: Nothing happened when I pasted your code verbatim into my userChrome.css (and restarted Firefox). I then checked it with Notepad++, which indicated the double-"" before the closing bracket was nullifying the rest of it. I removed the second ", but although the code isn’t greyed out anymore in Notepad++, it still isn’t working for me.

2) Since the plugin repo hasn’t had any activity in years, I hope you don’t mind if I ask you instead: The GitHub code to reorder the menu items isn’t working at all. I tried various tweaks, but nothing worked. Given that the post was last updated in 2020, I assume it’s out of date. If you know how to fix it, I should would appreciate the help.

igorlogius
Making moves

@jmcken 

Thanks for the heads-up in with the double-"" in my post.  The web-editor here is a bit funky sometimes. 🙂 

Just a guess but maybe you did not toggle the about:config preference 

toolkit.legacyUserProfileCustomizations.stylesheets

to 

true

 ? 

jmcken
Making moves

@igorlogius Nope, it’s definitely set to true (I use CustomCSSforFx to heavily mod my browser, which requires it; and at any rate I checked again for good measure). All the other CSS tweaks (including several I added myself) work just fine; these two are the only ones that don’t. Unfortunately I’m not skilled enough to troubleshoot it myself. 😔

igorlogius
Making moves

@jmcken 

Use the `order`  property   to order the elements. 

2025-08-12_16-21.png

see  => https://developer.mozilla.org/en-US/docs/Web/CSS/order

jmcken
Making moves

@igorlogius I appreciate the reply, but unfortunately I have no idea how to use that, or where to write it, or anything. The doc page you linked is way over my head. 😔

igorlogius
Making moves

@jmcken 

ah, i pasted the wrong id

to hide the built in "Open in New Containers >" menu you need this

menu[id="placesContext_open:newcontainertab"] { display: none !important; }

Sorry.

igorlogius
Making moves

 
jmcken
Making moves
‎12-08-2025 01:22 PM

@igorlogius I appreciate the reply, but unfortunately I have no idea how to use that, or where to write it, or anything. The doc page you linked is way over my head. 😔



Its the same as when you want to hide a elment. You set/assign the display attribute the value none !important. Now to change the position of an element you set/assign it an order  value.

/* this hides the built-in open in container */
menu[id="placesContext_open:newcontainertab"] { display: none !important; }

/* this moves the addons entry to the top , since -1 > 0 */
menu[id="bookmark-menu-container_robwu_nl-menuitem-_bookmark-menu-item"] { order: -1 !important; }

/* to move the "Open in New Tab" above the "Open in New Container tab" we assign it a lower value  */
menuitem[id="placesContext_open:newtab"] { order: -2 !important; }

/* note the difference between menu[..] and menuitem[..]  depending on the  type of menu element */

Positiv values move the Element down and negativ values move it up.  All Elements start of with a value of 0, so if you want to rearrange a buch of elements, you'll have assign them all fitting order values.  

 

jmcken
Making moves

@igorlogius Finally had time to try it, and that works perfectly! Default item hidden, plugin item moved up in its place. Thanks for all your help, it’s much appreciated.

(My perfectionism would like me to remove the “Open in a New Container Tab” to make it identical to the other menu items, but I don’t suppose user CSS can rename menu items added via plugin, right?)

igorlogius
Making moves

@jmcken 

> that works perfectly!

Glad to hear. 

> I don’t suppose user CSS can rename menu items added via plugin, right?)

Not as far as i know ... but i am fairly sure that you can use userChrome.js  for that kind of magic. Unfortuneltly i dont have too much expereince with this so i cant be of much help here.