Can I create a custom menu for a control WebBrowser?
WebBrowser
I want to disable some existing elements and add some new elements.
You can do this by implementing a method IDocHostUIHandler.ShowContextMenufor the TWebBrowser component, when you override this method, the TWebBrowser control will bring up your customized menu, check this article How to customize the TWebBrowser user interface (part 4 of 6)to find out how to override this method from delphi, and then check this article from MSDN WebBrowser Customization (Part 2)to find out how to set up the menu.
IDocHostUIHandler.ShowContextMenu
How to customize the TWebBrowser user interface (part 4 of 6)
WebBrowser Customization (Part 2)