Hi Team,
Our team wants to disable open new tab in browser in the file menu,even though we have disable the extension still we are getting option.
how can we acheive this?
Hi Team,
Our team wants to disable open new tab in browser in the file menu,even though we have disable the extension still we are getting option.
how can we acheive this?
is a similar topic on disabling menu entries- you could try that?
Hi @manics ,
Thanks for your response.
we have checked below json code in application context menu,but it is not working
it is creating open new browser tab & showing as disabled.
{
âcontextMenuâ: [
{
âcommandâ: ânotebook:disableâ,
âselectorâ: â.jp-DirListing-contentâ,
âargsâ: {
âisContextMenuâ: true
},
âdisabledâ: true
},
{
âcommandâ: ânotebook:export-to-formatâ,
âselectorâ: â.jp-DirListing-item[data-file-type="notebook"]â,
ârankâ: 3,
âargsâ: {
âformatâ: âmarkdownâ,
âlabelâ: âOpen in New Browser Tabâ
}
},
{
âcommandâ: âfilebrowser:openâ,
âselectorâ: â.jp-DirListing-item[data-file-type="notebook"]â,
âargsâ: {
âlabelâ: âOpen in New Browser Tabâ
},
âdisabledâ: true
}
]
}
we need to disable existing open new browser tab, if you right click it.
any suggetions please.
I donât know, but hopefully someone from the JupyterLab team will be able to help.
Thank you for a comment
Hi
Anyone have update on this issue please
Hi Team,
I got the solution for the disable Open in New Browser Tab.
{
âcontextMenuâ: [
{
âcommandâ: âfilebrowser:open-browser-tabâ,
âselectorâ: â.jp-DirListing-item[data-isdir="false"]â,
âdisabledâ: true
}
]
}