On 2018/06/03 16:43, justina colmena wrote: > On June 3, 2018 3:21:25 PM AKDT, Stuart Henderson <[email protected]> > wrote: > >They're meant for local reading i.e. > >file:///usr/local/share/doc/postgresql/html > > > >If you want to read them online, just go to > >https://www.postgresql.org/docs/ > > I'm working on a remote machine, and I like to have the docs available > for the exact version of postgresql that I have installed, so that I don't > develop a bad case of googleitis hunting for them. Or else I'm on a LAN, > no internet. I'm not really crazy about "file://" urls anyways.
Since this is a rather special case I think the advice would be to just copy the files across yourself rather than have the files be moved to a place where people don't normally expect to look for them (/usr/local/share/docs is standard for ports). > So arbitrary javascript from any random web page has access to, e.g., > "file://~/.ssh/" -- really. Humph. No, no it doesn't. https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
