Skip to main content
14 events
when toggle format what by license comment
Oct 1, 2015 at 18:41 comment added Lenar Hoyt The provided script URL is out of date. They've moved it to a content delivery network since: cdn.mathjax.org/mathjax/latest/…
May 16, 2010 at 19:06 history edited Jack Schmidt CC BY-SA 2.5
missing paren
May 16, 2010 at 17:25 comment added VA. Anton, I am sorry, of course I meant 'void(0);', thanks for fixing that. The answer to your question is NO (as I learned from Davide, the lead developer of MathJax, I had exactly the same question): Firefox, Chrome, and IE all do not allow execution of javascript from a local file. Only Opera does.
May 16, 2010 at 17:07 history edited Anton Geraschenko CC BY-SA 2.5
added 1 characters in body
May 16, 2010 at 17:06 comment added Anton Geraschenko @VA: thanks for your edits! Adding void(); breaks it for me, but void(0); works. Do you know if it's possible to load a local file in a script tag? That way, you wouldn't even have to run your own web server to use MathJax locally. I tried e.src="file:///path/to/mathjax/MathJax.js";, but that didn't work. It's probably a security feature: en.wikipedia.org/wiki/…
May 16, 2010 at 16:22 history edited VA. CC BY-SA 2.5
prettified the code
May 16, 2010 at 0:23 history edited VA. CC BY-SA 2.5
Now works with other browsers. Install MathJax locally!
May 15, 2010 at 23:34 comment added VA. OK, I think I figured this out. This bookmarklet works for me in Firefox, Chrome, IE, and Opera, once I increase the timeout to say 300, and add 'void(0);' at the end. It works even better once I replace 'www.mathjax.org' by my own server where I installed MathJax. Note: (1) Only Firefox and IE+MathPlayer support MathMML, (2) So you better use the default HTML-CSS, and then you better install MathJax fonts locally, (3) noErrors is not part of MathJax for now, and should be installed locally (see my answer), and it has to be called in MathJax.Hub.Config() or in the local config file. Good job!
May 15, 2010 at 22:31 comment added VA. +1 for the right idea. Something like this SHOULD be the best solution, as it SHOULD work in every browser: Mozilla, Chrome, Safari, IE, Opera, etc, provided you have MathJax fonts installed locally and are using HTML-CSS output, not MathMML. This particular applet works for me in Chrome. But it breaks in Firefox (where it gives me a blank window with '2' on it). Could the javascript gurus please fix it?
May 15, 2010 at 20:24 comment added Regenbogen Greasemonkey is built into chrome. So installing/not installing it is not an issue.
May 15, 2010 at 20:17 comment added VA. Anton, thank you for your solution. But please edit it to encourage people to use their local MathJax installation. First, you get more control over the display this way, and can easily set lots of things. Secondly, if everybody in the world uses MathJax's server, they will go broke, and the community will suffer.
May 15, 2010 at 20:05 history undeleted Anton Geraschenko
May 15, 2010 at 20:05 history deleted Anton Geraschenko
May 15, 2010 at 20:05 history answered Anton Geraschenko CC BY-SA 2.5