সহায়তা খুঁজুন

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

আরও জানুন

Cannot Remove Separator from Tab Context Menu

  • 2 উত্তরসমূহ
  • 0 এই সমস্যাটি আছে
  • 50 দেখুন
  • শেষ জবাব দ্বারা Slouch

more options

Hi All,

I would like to hide the "New Tab to Right" option on the Tab Context Menu, and also remove the separator line right below that menu item.

The first line in the following code removes the Menu Item, but none of the 4 remaining lines succeed in removing the separator line. It remains at the top of the menu (see attached image).

Could anyone suggest some code to also remove the separator line at the top?

This is in FF 135.

Thank you.

#context_openANewTab,
#context_openANewTab + menuseparator,
#context_openANewTab_separator,
#context_reloadTab_separator,
#context_reloadTab + menuseparator::before {
   display: none !important;
}


This code below removes the first menu item and ALL separators from ALL menus, which is "ok" but not optimal.

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


This solution provided by cor-el a few years ago appears to no longer work (the separator remains): https://support.mozilla.org/nl/questions/1340761

Hi All, I would like to hide the "New Tab to Right" option on the Tab Context Menu, and also remove the separator line right below that menu item. The first line in the following code removes the Menu Item, but none of the 4 remaining lines succeed in removing the separator line. It remains at the top of the menu (see attached image). Could anyone suggest some code to also remove the separator line at the top? This is in FF 135. Thank you. #context_openANewTab, #context_openANewTab + menuseparator, #context_openANewTab_separator, #context_reloadTab_separator, #context_reloadTab + menuseparator::before { display: none !important; } This code below removes the first menu item and ALL separators from ALL menus, which is "ok" but not optimal. menuseparator, #context_openANewTab { display: none !important; } This solution provided by cor-el a few years ago appears to no longer work (the separator remains): https://support.mozilla.org/nl/questions/1340761
স্ক্রিনশটসমূহ সংযুক্ত হয়েছে

Slouch দ্বারা পরিমিত

সমাধান চয়ন করুন

Here's what finally worked...

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

Three of the menu items above (tab grouping options) are apparently hidden by default in Firefox.

I needed to mention all the items before the separator, even if they are hidden, in order to remove the separator.

Not sure why that worked, but it was one of the iterations I thought to try :)

প্রেক্ষাপটে এই উত্তরটি পড়ুন। 👍 0

All Replies (2)

more options

Here's what finally worked...

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

Three of the menu items above (tab grouping options) are apparently hidden by default in Firefox.

I needed to mention all the items before the separator, even if they are hidden, in order to remove the separator.

Not sure why that worked, but it was one of the iterations I thought to try :)

Slouch দ্বারা পরিমিত

Helpful?

more options

চয়ন করা সমাধান

Here's what finally worked...

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

Three of the menu items above (tab grouping options) are apparently hidden by default in Firefox.

I needed to mention all the items before the separator, even if they are hidden, in order to remove the separator.

Not sure why that worked, but it was one of the iterations I thought to try :)

Slouch দ্বারা পরিমিত

Helpful?

একটি প্রশ্ন জিজ্ঞাসা করুন

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.