Working with files NPAPI/PPAPI/NSPR

833 views Asked by At

I need in Chrome extension these actions:

  • Download binary file to temp
  • Unzip it (it's clear .zip package)
  • Move files from unpacked directory, to directory of my extension
  • Delete temp files

I've been looking for similar what Firefox Scriptable XPCOM interfaces offer, https://developer.mozilla.org/en/XPCOM_Interface_Reference

Is there any simple way to do this, or I need to create the components myself in C/C++ and one of NPAPI, PPAPI, NSPR ?

0

There are 0 answers