[math.stackexchange.com] Add MathJax.js
Math symbols do not work on this StackExchange math question or https://math.stackexchange.com in general. The website does not use CSP, but Cloudflare (the host for the library) does - is that a problem?
Error message in console:
Loading failed for the <script> with source “https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML-full”
As a side question, I noticed that quantserve is also being used on the website. Do you plan to implement CDNs used for tracking? That seems counterproductive if so. I'd humbly ask to keep away from that :)
That makes sense! You can close the issue.
Regarding the second question, I presume that only useful CDNs are being added, correct?
Regarding the second question, I presume that only useful CDNs are being added, correct
Oh, sorry. Yes, only necessary CDNs are supported now and in the future. Don't worry, tracking isn't part of it. 😉
I've to bump this issue up again.
Through #469 I have spent some time with MathJax and tried and tested many different things. I think some kind of minimal MathJax could be realized. Unfortunately the framework is still too big, so it isn't possible to include all functions. At least showing formals should be possible. Currently the folder is about 1 MB and should be ok.
I've added MathJax v2.7.5. Of course there are newer versions, but the package is still too big and it isn't possible to upgrade from v2.x to v3.x.
I think this should cover most cases at the moment.
I tested with these pages:
Interested in testing this?
LGTM! Tested those pages in Firefox Nightly and jumped around Math StackExchange; can't say much else other than well done on compressing things down to under 10% while keeping most utility :)
I think the issue can be closed. The tests were successful so far. If there are problems, just reopen or create a new issue 😊
Deleting a branch is permanent. It CANNOT be undone. Continue?