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

123
Visualizações
Force site to load mobile rather than desktop

I'm using a JS library (Pannellum) that enables use of the motion sensors available in Apple devices, but when I view my site on a large iPad (12.9-inch) it defaults to the desktop site and makes the library think the sensors aren't available. If you 'Request mobile site' in Safari's settings then it will work, but I'm trying to work out how to make it load the mobile site by default. FWIW I don't have a separate mobile endpoint, it's just a static site using Bootstrap to determine CSS changes at various breakpoints. I'm sure the solution will likely be some missing value in the tag, but I haven't been able to find out what, most existing questions of this nature seem to ask how to do the opposite (force desktop view). Would appreciate it if anyone could point me in the right direction!

about 4 years ago · Juan Pablo Isaza
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