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

270
Visualizações
Drop Mac .app file not working correctly in Chrome, while working correctly in Safari

In Chrome, I could drop correctly .txt, .apk and .img files into my web but not Mac .app file , while they all could be dropped correctly in Safari.

I did console.log(event.dataTransfer.files) in drop listener. All of the .app file would be the same obj:

lastModified: 1577865600000
lastModifiedDate: Wed Jan 01 2020 02:00:00 GMT-0600 (Central Standard Time) {}
name: {fileName}
size: 96
type: ""
webkitRelativePath: ""

In Safari, the .app file would be converted to a zip file and the file could be dropped correctly.

  1. Why is this the case?
  2. What is the best way to fix this behavior?
  3. Any other file type would behave the same as .app?
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