13

Is it possbile to create a firefox extendsion to write to files in a windows file system ?

1 Answer 1

10

Yes, see this page for examples.

Edit

XPCOM and so nsIFile are now legacy technologies :

Use of OS.File is preferred over the examples in this article. Only use these legacy interfaces if OS.File is not available to you.

You can find the new way to go here

Sign up to request clarification or add additional context in comments.

2 Comments

mozilla will be deprecating XPCOM and therefore the nsIFile so this will very soon be irrelevant.
Note that this is still valid for Thunderbird, which is not (at least not yet) deprecating/removing "legacy" extensions. In addition, there are various forks of Firefox in which "legacy" extensions are still valid.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.