in reply to Open file:// in default web browser

Try a local webserver, make ist listen only on localhost (or any arbitary address in the 127.0.0.0/8 "network"), and use HTTP URLs instead. File-URLs are handled differently in each browser, and you will end building work-arounds for work-arounds for work-arounds.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Open file:// in default web browser

Replies are listed 'Best First'.
Re^2: Open file:// in default web browser
by Anonymous Monk on Jan 30, 2015 at 07:44 UTC
    can you please share how to open files in shared location using http:// instead of file:/// .Firefox & Chrome features does not allow to access file url from web page. I'm looking for an alternative to open txt, doc, docx files from webpage which are placed in shared path. Thanks in advance.