Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

local links not working

  • 1 回覆
  • 5 有這個問題
  • 4 次檢視
  • 最近回覆由 cor-el

more options

I have set up a small, simple Intranet in our offices. The pages in the Intranet need to include links to local documents like Word files, Excel files, PDF files, etc.

I cannot get the links to work by clicking them. If I Shift-Alt-Click I get a message asking if I want to Open or Save the file. My code is:

<a href="file:///n:/folder/document.doc">Document Title</a>

Clicking the link results in no response from the browser. This also does not work in Google Chrome or Opera. However, it works in IE8.

I have researched the web and the only solutions I have found are related to accessing local files from the Internet, not locally. Nothing I have tried has worked.

I have set up a small, simple Intranet in our offices. The pages in the Intranet need to include links to local documents like Word files, Excel files, PDF files, etc. I cannot get the links to work by clicking them. If I Shift-Alt-Click I get a message asking if I want to Open or Save the file. My code is: '''<a href="file:///n:/folder/document.doc">Document Title</a>''' '''Clicking the link results in no response from the browser.''' This also does not work in Google Chrome or Opera. However, it works in IE8. I have researched the web and the only solutions I have found are related to accessing local files from the Internet, not locally. Nothing I have tried has worked.

所有回覆 (1)

more options

See http://kb.mozillazine.org/Links_to_local_pages_do_not_work

Are there any error messages in the Tools > Error Console?

Firefox won't open .doc files from Word or other MS products and will offer to save the file or open with another application. IE can display such a file as being part of Windows and know about MS files from other MS applications, so you most likely can't use such a link in browsers other than IE.