Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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

Remove "Add Tab to New Group" item from Tab Context Menu

  • 2 réponses
  • 1 a ce problème
  • 138 vues
  • Dernière réponse par Slouch

Hi All,

I would like to remove the first item from the Tab Context Menu, which is "Add Tab to New Group", and simply have "Reload Tab" as the first menu item.

I was using this code, which worked in FF 145, until the latest update (FF 147)...

#context_openANewTab,
#context_moveTabToNewGroup,
#context_moveTabToGroup,
#context_ungroupTab + menuseparator {
   display: none !important;
}

However, now there is an extra separator line at the top of the menu (see attached images).

This code also removes the top menu item, but still leaves the separator line on top:

#tabContextMenu #context_moveTabToNewGroup {
  display: none !important;
}


Is there a way to remove the first menu item without adding the separator line?

Thanks!

Hi All, I would like to remove the first item from the Tab Context Menu, which is "Add Tab to New Group", and simply have "Reload Tab" as the first menu item. I was using this code, which worked in FF 145, until the latest update (FF 147)... #context_openANewTab, #context_moveTabToNewGroup, #context_moveTabToGroup, #context_ungroupTab + menuseparator { display: none !important; } However, now there is an extra separator line at the top of the menu (see attached images). This code also removes the top menu item, but still leaves the separator line on top: #tabContextMenu #context_moveTabToNewGroup { display: none !important; } Is there a way to remove the first menu item without adding the separator line? Thanks!
Captures d’écran jointes

Modifié le par Slouch

Toutes les réponses (2)

If you don't use the tab group feature you can disable it by going to about:config in the address bar and change browser.tabs.groups.enabled to false.

That will make that menu item go away and any others related to tab grouping.

If you do use it, then perhaps someone else can come up with the correct values.

MarkRH said

If you don't use the tab group feature you can disable it by going to about:config in the address bar and change browser.tabs.groups.enabled to false.

Thanks, MarkRH.

When I set that feature to false, it does remove those tab group menu items, however the separator line still appears at the top because I am also removing the "New Tab at Right" menu item with the following code...

#context_openANewTab, #context_openANewTab + menuseparator {
   display: none !important;
}


See attached images.

I have a feeling something changed with the last update having to do with "next-sibling combinator selectors" which refer to the separator lines, because I can't figure out how to select that stray separator.

Modifié le par Slouch

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.