Avatar of SYanG79
SYanG79
Flag for Canada asked on

MacOSX browsers cannot open a link

Hi,

  We have posted some links in our intranet website. The links look like this..
file://///Volumes/ShareX/FileX.pdf .

Neither Safari nor Firefox are able to open the files. But if I right-click and copy the link target and then paste it in the address bar, it works!


Do you have any ideas why it doesn't work with a mouse click inside the browser?

Thanks,

P.S : Has been tested in MacOSX 10.6.7 and 10.4.11, Safari 5.0.4 (6533.20.27), and 4.1.3 (4533.19.4), Firefox 11.
Apple OSMac OS X

Avatar of undefined
Last Comment
SYanG79

8/22/2022 - Mon
SOLUTION
Chris Ashcraft

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dave Baldwin

Firefox will not open a 'file://' link in a page loaded with 'http://'.  I don't believe Safari, Chrome, or IE9 will either.  This a security restriction to keep web sites from opening files on your computer.  Several other people have asked this same question in the past week.
SYanG79

ASKER
I found out that Google Chrome could be opened by disabling the security restriction so I worked around this.

I tried to open it in a terminal with differents arguments without any success..
"open /Google\ Chrome.app --args ----allow-file-access-from-files"
"open /Google\ Chrome.app --args --disable-web-security"

Then I checked the extensions availables for Google Chrome and found "Locallinks". I installed it and it works great! But I am not certain what kind of security holes it causes...

Anyone knows?
SYanG79

ASKER
Hi,

  I have another problem to open my pdf file. I am able to open it with Acrobat with the extension Locallinks as explained above but this is not the original file that is opened.

I would like to be able to modify a pdf file that is located on a network drive. But it seems that the extension downloads the file. If I do some adding to the file, they are done in /Downloads/File.pdf
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SYanG79

ASKER
Hi Dave,

  You are right. The pdf files that I open from the link file:// come from my folder /Downloads/ .

To save them back to the original place I am going to use a trusted function in Acrobat.