It does not "work" on macOS either. Although looking with the inspector shows the proper mathml has been injected by your script but the link to MathJax itself is never injected. This is because no math tag exists when Preview is loaded the first time.
So this appears to be a timing issue. When Mathjax is run there is no mathml to process until after your script finishs but by then it is too late.
That is why I thought it may not help to use temml in my update to that post.
|