Requesting help with how to remove menu items from the Jupyterlab Context menu

I STRICTLY DISSAPROVE THAT BUT
You can try to remove commands. For example:

import { CommandRegistry } from '@lumino/commands';

interface IMenuCommands {
    _commands: { [index: string]: unknown }
}

const extension: JupyterFrontEndPlugin<void> = {
    id: 'test:plugin',
    autoStart: true,
    activate: (
        app: JupyterFrontEnd,
    ): void => {
        app.restored.then(() => {
            const itemsToRemove = [ 'filebrowser:cut', 'filebrowser:paste', 'filebrowser:copy' ]
            const commands = <IMenuCommands><CommandRegistry | IMenuCommands>app.commands;
            app.commands;
            itemsToRemove.forEach(item => {
                delete commands._commands[item]
            })

        })
    }
}
export default extension;

1