Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Open and save a local file with javascript

  • 2 답장
  • 3 이 문제를 만남
  • 1 보기
  • 최종 답변자: JanwMe

more options

I doubt if this is the right place for this kind of question, But I don't know where else I should ask this. If there is a better place to ask this please tell me.

I want to create a `webapp` that has sensitive data on it. I want to put that on a usb and be able to run it on every machine with FF without relying on extra extentions/tweaks to the browser. The `webapp` itself therefore can use html/js/css/etc. The data itself will be stored in a lose data file. I want to auto save changes to this file. Temp saving it in a cookie/indexedDB is not an option. So saving it in the normal way isn't an option. The download popup would drive me nuts.

I've read some stuff about the fileSystem api and Mozilla's alternative DeviceStorageAPI. Neither seem like an option. IndexedDB is no option because it saves data to the browser.

Is there a way to save a file without prompt? Or any other way to accomplish what I want to do?

A few of the sources I've red. https://hacks.mozilla.org/2012/07/why-no-filesystem-api-in-firefox/ http://caniuse.com/#search=filesystem https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

I doubt if this is the right place for this kind of question, But I don't know where else I should ask this. If there is a better place to ask this please tell me. I want to create a `webapp` that has sensitive data on it. I want to put that on a usb and be able to run it on every machine with FF without relying on extra extentions/tweaks to the browser. The `webapp` itself therefore can use html/js/css/etc. The data itself will be stored in a lose data file. I want to auto save changes to this file. Temp saving it in a cookie/indexedDB is not an option. So saving it in the normal way isn't an option. The download popup would drive me nuts. I've read some stuff about the fileSystem api and Mozilla's alternative DeviceStorageAPI. Neither seem like an option. IndexedDB is no option because it saves data to the browser. Is there a way to save a file without prompt? Or any other way to accomplish what I want to do? A few of the sources I've red. https://hacks.mozilla.org/2012/07/why-no-filesystem-api-in-firefox/ http://caniuse.com/#search=filesystem https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

모든 댓글 (2)

more options

As a short term workaround, you could package it with Firefox on the USB flash drive to work around the tendency of the installed Firefox to look to its own profile folder.

Possible discussion forums:

(1) Add-ons - https://forums.mozilla.org/addons/

Not sure if they talk about webapps or just the more conventional kinds of add-ons.

(2) Mozillazine - http://forums.mozillazine.org/

Again, not sure there is a board for this yet.

more options

Hi Jscher2000,

Thanks for the quick reply. Installing FF also on the USB isn't a bad idea. But it's not the method I prefer.

I've made a thread on forums.mozillazine.org