fix mathjax, add half of brave rejection code
This commit is contained in:
parent
2c4d60a707
commit
0ff00dd621
|
@ -17,7 +17,7 @@ http {
|
|||
gzip on;
|
||||
|
||||
map $http_user_agent $mathjax_polyfill {
|
||||
default "<script type='text/javascript' src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>";
|
||||
default "<script type='text/javascript' src='https://www.unpkg.com/mathjax@3.2.0/es5/tex-mml-chtml.js'></script><script type='text/javascript'>async function brave_test() {if((navigator.brave && await navigator.brave.isBrave() || false)&&location.pathname!='/unsupported-browser'){location.href='/unsupported-browser';}}; brave_test();</script>";
|
||||
"~Mozilla.*Firefox/[0-9]+" "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue