30 Aug 2012
However, it does not allow you to list the directory itself, which is what I was looking for.
My solution is a bit complicated, and not elegant at all, but it works. The only catch is that it requires the Chrome extension to have access to file URLs, which is something that users must explicitly activat in the extensions page.
The solution is:
Open a new Tab
Load that tab with a file URL: file://[user directory to list]. That creates a page that looks like
Parses the DOM of the tab’s document, looking for the files listed