Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

"navigator.mimeTypes.length” is zero on Japanese FF installed on non-english (japanese/chinese) Windows 2K8 R2 OS

  • No replies
  • 1 has this problem
  • 1 view
more options

If I create a simple html page as follows and run it on non-english (japanese/chinese) Windows 2K8 R2 OS and non-english FF browser (v42), I get the msg box saying "mimetype length is zero".

<script language="javascript"> if(navigator.mimeTypes && navigator.mimeTypes.length > 0) { document.write("success:" + navigator.mimeTypes.length); } else { window.alert("mimetype length is zero"); } </script>

But if I load the same file in English FF on standard English OS (same OS version too), then the success text is shown on html page.

Any idea why that would be the case? What could be required to make it work in first case (non-english OS and browser)?

If I create a simple html page as follows and run it on non-english (japanese/chinese) Windows 2K8 R2 OS and non-english FF browser (v42), I get the msg box saying "mimetype length is zero". <html> <body> <script language="javascript"> if(navigator.mimeTypes && navigator.mimeTypes.length > 0) { document.write("success:" + navigator.mimeTypes.length); } else { window.alert("mimetype length is zero"); } </script> </body> </html> But if I load the same file in English FF on standard English OS (same OS version too), then the success text is shown on html page. Any idea why that would be the case? What could be required to make it work in first case (non-english OS and browser)?