Thread:Extension talk:VisualEditor/Hide cite-menu in main menu

Is there a way to hide the cite-menu in the main toolbar with javascript? The only way to do this I have found so far is by hacking the visibility after the editor is loaded

Like this This is an ugly hack. I would rather be able to get a reference to the main bar, and then remove the cite-menu itself. Is there a way to do this?