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?
For security reasons, by default the Chrome browser does not allow extensions to access local files. If you want the accelerator to access local files (locations of "file:///...", instead of "http://" or "https://"), you must configure Chrome to allow the access.
Web browsers (and JavaScript) can only access local files with user permission. To standardize the file access from the browser, the W3C published the HTML5 File API in 2014. It defines how to access and upload local files with file objects in web applications.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With