2

What are the names for "Add Tab to New Group" and "Open in New Container Tab" in userChrome.css ?

image with context menu for tabs

Is there list to get the names for menus to find them and remove with: Setting in about:config the parameter toolkit.legacyUserProfileCustomizations.stylesheets as true, then editing userChrome.css file in %APPDATA%\Mozilla\Firefox\Profiles\[profile-id]\chrome adding #necessary-parameter-name { display:none !important; }?

Because now Firefox is not allowing any editing of the menus by addons.

XuMuK
  • 415

2 Answers2

1

If you do not use Tab Groups or Containers,

  • Open about:config.
  • Search on tabs.group.
  • Set browser.tabs.groups.enabled to false.
  • Search on containers.
  • Set services.sync.prefs.sync.privacy.userContext.newTabContainerOnLeftClick.enabled to false.
1

Is there list to get the names for menus

As you yourself listed in your other question, but I guess forgot about its existence, there's indeed a 3rd party list of all the menu entries.

The selector you are looking for looks to be #tabContextMenu #context_moveTabToNewGroup, which you can use in userChrome.css as you mentioned and hide with:

#tabContextMenu #context_moveTabToNewGroup {
  display: none !important;
}
Destroy666
  • 12,350