No matter what I do I cannot get either of these local File URIs:
<a href="file:///c:/">x</a>
<a href="file:///C:">x</a>
<a href="file:///C:">x</a>
<a href="file://C:">x</a>
<a href="file:///C|/">x</a>
<a href="file:///C|">x</a>
<a href="C:">x</a>
<a href="C:">x</a>
<a href="#" onclick="return window.open('c:\');">#</a>
...to work. I've tried putting the site in different zones (Local Intranet, Trusted Sites), turning on/off Protected Mode and fiddling with the security settings for the active zone. I've also tried many variations of the URI. But when I click the links, nothing happens. No errors either.
The only working scenario is when the HTML file is opened from a file:/// location and has file:/// links in it. Obviously, this is no great help.
Is there a workaround of some kind? There seems to be alot of contradictory information on the web about this.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…