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

135
Visualizações
Get position of the address bar on iOS 15 devices

On iPhones with iOS 15, the address bar is at the bottom of the screen (default) or optionally at the top of the screen.

Is there any way to determine the position (bottom or top) of the address bar with JS?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Short Answer: No

Explanation:

The reason that you cannot find the location of the address bar is because it is outside of the website.

What this means:

The website is one container, and JS can only assess things inside of the website container. The address bar is another container.

Diagram

So why does this exist?

This is here to stop malicious websites from accessing your address bar (or something else) and typing in a link. At first you might think this is the same as a redirect, but it doesn't stop at the address bar. What if it had the ability to change your settings and auto download something?

What are the workarounds?

You can display a prompt for the user to ask where the address bar is, however, there really isn't much you can do.

If you can tell us the reason for wanting to location, maybe we can find a workaround!

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