Due to Mozilla’s security model, file://-links to local files on your computer or files on a network share do not work on (non-local) web pages; a click on such a link just does nothing. Links to local files could be useful on intranet sites like wikis.
The LocalLink extension is a little Firefox (and Thunderbird) extension, that adds a new entry “Open Link in Local Context” to the link’s context menu. After you have installed the extension from https://addons.mozilla.org/firefox/addon/281, you can open file://-links by right click on the link and select “Open Link in Local Context > Current Window”.
Since the LocalLink extension only opens local links on user requests and does not add any automatism (e.g. for JavaScript or image links), there should not be any security issues. You can find more information about why local links are disabled by default in the following bug requests:
- Bug 84128 – Need user-visible message when CheckLoadURI fails (eg, for links to file: urls)
- Bug 122022 – (file://) [ISSUE] file:// URLs in a http | https page do not work (clicking does nothing, do not auto-load, etc.) [dupe to bug 84128]
Related posts:
- Debian Lenny 5.0: Bind RPC port mapper portmap to local loopback
- Windows batch file to delete old files and remove empty directories recursively
- ASP.NET MVC 3: Set up custom error pages to handle errors in “non-AJAX” requests and jQuery AJAX requests
- ASP.NET: Prevent IIS 7.5 from overriding custom error pages with IIS default error pages
- Windows 7: How to edit hosts file