Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Open and save a local file with javascript

  • 2 përgjigje
  • 3 e kanë hasur këtë problem
  • 1 parje
  • Përgjigjja më e re nga 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

Krejt Përgjigjet (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