Search code examples
iofirefox-addonfirefox-addon-sdk

What are Mozilla Labs' Jetpack IO capabilities?


Are you able to access your file-system, using Jetpack, and do operations such as creating or reading files or saving images?


Solution

  • The Add-on SDK 1.0b5 (the most recent version at this moment) has a file module for this purpose. Note that it's not a high-level module, meaning it can change incompatibly in future Add-on SDK versions.

    [the original answer from 2010/01] No, there's no jetpack-specific APIs for this yet, note the red link on MDC and the lack of a "JEP" about this. You're not prevented from using normal Mozilla APIs for file I/O (yet?), though.