1

In a Windows Phone 8.1 app I've a WebView that renders some local html pages. By default the WebView acts like an Internet Explorer in mobile mode. But Internet Explorer mobile mode has some restriction: can't render MathJax. So I need to change the user agent.

So far I've found two methods to change the user agent:

  1. Here is explained how to change user agent, but this creates Certification error while publishing the app in windows store, windows store does not allow urlmon.dll
  2. Here is explained how to change the user agent with HttpWebRequest. But I can't implement this for loading local html files.

My question is how can I implement the second method to load local html files?

Community
  • 1
  • 1
Mostafiz Rahman
  • 8,169
  • 7
  • 57
  • 74
  • 1
    It sounds like you are really encountering this MathJax bug: https://github.com/mathjax/MathJax/issues/1085 See the issue thread for a workaround; this will be fixed in the next release. – Peter Krautzberger Sep 04 '15 at 11:52
  • I'm still seeing that bug in a scenario where I prejax the html and ship the jaxed html with my app. – William Jockusch Jan 10 '17 at 17:43

0 Answers0