Extension:Math/MathJaxMenu

How to Modify the MathJax Contextual Menu
mw.loader.using with any of the MathJax hooks(ex. 'ext.math.mathjax.localization') to specify when you want the code to execute. Otherwise, the code will start running before MathJax has loaded, which will cause an error.
 * You do not need access to the server. This is done without changing the MathJax source.
 * Edit the MediaWiki:Common.js page.
 * Use the function
 * There is a list of the available hooks if you enter mw.loader.getModuleNames into the web console.

MathJax.Callback.Queue(    MathJax.Hub.Register.StartupHook("MathMenu Ready",function  { /* your code goes here */} )) This will tell the program to wait until the MathMenu is loaded to begin executing. How to Expose an Additional Annotation Type to the Contextual Menu 
 * Add
 * Now you can add your modifications to the menu.
 * Here is a link to an example source code
 * Note: The changes you add will be executed after all annotations have been retrieved. Thus, click on the link below if you want to add an annotation type, as this will not work for you.