Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

268
Visualizações
Detection of userAgents that do/do not support Unity3d Plugin

The unity3d web player plugin is supported by Explorer, Firefox, Safari, Mozilla, Netscape, and Camino on Windows or OSX.

Via JavaScript, what is the best method for determining whether a users configuration is supported, so I can alert them with the appropriate message? Is there a plugin out there that might support this case well? I'm looking for an easier solution than combing through the properties manually and testing on different devices myself.

Thanks in advance!

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

You can detect operating system using a snippet like this: http://www.javascripter.net/faq/operatin.htm

For detecting a supported browser I'd just use jquery's $.browser property.

over 4 years ago · Santiago Trujillo Relatório

0

Since Unity uses NPAPI (for non-IE browser support), it should work in essentially every browser. You don't list Chrome, for example, but Unity works perfectly well in Chrome. There's no reason it shouldn't work in all the Gecko- and WebKit-based browsers, which make up most of the rest.

So before you deploy code that does this, consider carefully whether you really want to show an alert that will probably annoy the vast majority of users who will see it for no reason. If you are really concerned about users for whom Unity won't work, a blacklist of browsers you (or your users) encounter problems with is likely a better solution.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda