Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I write a file to the SD card from a mozilla plug-in or extension?

  • 2 tontu
  • 4 am na jafe-jafe bii
  • 1 view
  • i mujjee tontu mooy johns4ta

more options

Is it possible to write a file to external storage on an Android device from a browser plug-in or extension?

Is it possible to write a file to external storage on an Android device from a browser plug-in or extension?

All Replies (2)

more options

Just to clarify, I don't want to change the default download location, I just want to be able to write to a text file on the SD card/external storage.

more options

I found the answer here https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/io_text-streams. I just set the write location to "/mnt/sdcard"