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

241
Visualizações
Is there a way to open a directory from JavaScript and use it as a (persistent) source for assets like images?

I would like to store images and configuration data on a device in a persistent manor.

Previously I have seen LocalStorage and IndexedDB being inexplicably wiped so I don't trust them as persistent, perhaps more like long term temporary storage.

I also can't really store images there without converting the images to base64 and storing them as text, which is a little cumbersome.

I would like the user to be prompted that my web app would like to access the filesystem so they are cognizant of that, but I would not like to have access to everything and I would like the prompt to appear once on first launch.

I am reading through the FileSystem API and it looks like there might be a solution there but I haven't found it yet.

Any suggestions to 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