Local filesystem access in browser extensions

2019-02-17 15:03发布

问题:

I'm doing some investigation into options for an app I am building. Do browser extensions for all browser platforms have filesystem access like Firefox does?

回答1:

Chrome extensions do not allow arbitrary filesystem access. You could, however, write an NPAPI plugin, but this comes with some heavy caveats:

You can also use HTML5 filesystem APIs to access a sandboxed filesystem:



回答2:

Dolphin browser looks to have it. Look at their API (I didn't test it yet). Hopefully it will help you.