var hasPnacl = navigator.mimeTypes['application/x-pnacl'] !== undefined;
I want to show users a "sorry" message when they visit my PNaCl-using web app with an unsupported browser. What's the best way to detect this in javascript? Get the user agent? Surely there must be something more direct.
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.