Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

171
Vistas
Any way to detect android device type (phone/pad) in firefox

The userAgent of Chrome and Edge, both contains a 'Mobile' word on android phone. And don't contains it on android pad.

But the Firefox userAgent on phone is exactly alike it on pad.

So, is there any accurate way to detect the android device type for Firefox?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I think the only way to do that is detect with size of device because tablets are basically bigger then phones

hope something like this could help :

let isMobile = window.matchMedia("only screen and (max-width: 760px)").matches;
if (isMobile) {
    //Conditional script here
}
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda