I've tried many things to read a local file from an extension's background script. Adding file://*
(and even *://*
) to the permissions
list didn't work because XMLHttpRequest refuses to work with anything but http.
So, is there a way to access local files without resorting to native client or a small proxy server?
edit: Just to be clear, the file I want to access is located outside the extension's directory.