Skip to content

Hide 'Send Tab to Device' in TST's Context Menu #3285

Answered by irvinm
TFWol asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#hide-context-menu-items-in-the-sidebar-2116

Just add what you want removed to your userChrome.css.

Here is what I use to remove "Close Tabs to the end" and "Close other Tabs":

/* MCI: Tree Style Tab - Menu item removal */
/* https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#hide-context-menu-items-in-the-sidebar-2116 */
/* Close Tabs to End */
*[id^="treestyletab_piro_sakura_ne_jp-menuitem-_context_closeTabsToTheEnd"],
/* Close Other Tabs */
*[id^="treestyletab_piro_sakura_ne_jp-menuitem-_context_closeOtherTabs"] {
  display: none;
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TFWol
Comment options

@piroor
Comment options

@TFWol
Comment options

Answer selected by TFWol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants