DEAD LINK does not work in FireFox, but in IE) This j...">

<a> nchor Link to a local file? (<a href='file:///{pathasket 'rel="nofollow noreferrer"> DEAD LINK </a> does not work in FireFox, but in IE)

This java code,

"<a href='file:///" + curBP.get_build_path() + "'>" + curBP.get_build_path() + "</a>" 

It is displayed in the browser.

On the HTML page:

 <a href="file:///\\path\to\shared\file">Shared File</a> 

However, it does not open the file. I tried many other combinations of pigtails, but to no avail. In FireFox, it acts as a dead link and does not open the file. In IE, it works.

Any idea on how to make it work in FireFox? Thanks!

+4
source share
2 answers

Bad news: Firefox has closed the security hole:

http://www.techlifeweb.com/firefox/2006/07/how-to-open-file-links-in-firefox-15.html

It requires the user to modify the local file to resolve the file: // urls.

+6
source

When you use the backslash {}, you call Windows Explorer. And IE is integrated with Windows Explorer, FF is not integrated

+1
source

Source: https://habr.com/ru/post/1336521/


All Articles