Many Web sites use MathJax (and thus MathML) to display mathematical formulas. However because some browsers do not support MathML, MathJax generally defaults to the the HTML-CSS output mode. This means that to use Gecko's native MathML output, one has to right-click on a mathematical formula and select Math Settings → Math Renderer → MathML in the MathJax menu.
Having to change the output mode for each Web site is very inconvenient for the user. When a page has many equations, MathJax takes a very long time and the UI becomes irresponsive, so one has to wait the end of the processing before being able to switch to the fast MathML output. Some Web sites even disable the MathJax menu, making impossible to switch to the MathML output. Finally, for each Website visited, MathJax saves the menu preference in a cookie whose expiration time is set to one year, something that some people who are concerned about privacy might not want.
This add-on instead automatically creates, for each Web page, a temporary menu-preference cookie and deletes it once the page is loaded. This will force MathJax to use the Native MathML output without having to use the MathJax menu and will work even when the MathJax menu is disabled. Obviously, this is will greatly speed up the rendering since the remaining rendering lag will essentially only be due to MathJax loading its components, parsing equations and inserting the MathML. The add-on also slightly modifies MathJax's NativeMML code to fix some rendering and performance bugs.
It is recommended to install math fonts
for best MathML rendering.
Examples of Web pages using MathJax:
- MathJax MathML samples
- Elsevier's article of the future
- Online derivative calculator
- CERN Document Server