eliminate inline javascript for mathjax loading #14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "jbclements/mathjax-no-inline-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My web page is configured with a Content Security Policy that forbids inline JS, and indeed, I think inline javascript does represent a fairly massive attack target. In order to eliminate it, it looks like we can just call
js-addition
with a URL, rather than a byte string.TBH, I can't see why the original code was the way it was, unless we overlooked the possibility of calling js-addition with a URL. Let me know if I missed something obvious!
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Gitea.