myportal
| resources: | Home Mailing List Installation FAQ Source Code Members Bugs |
|---|
Frequently Asked Questions
- Why don't links to local files work on My Portal?
-
For security reasons, Firefox blocks links to local files on a web page unless the web page is local (i.e. has a
file://URL). The Error Console (JavaScript Console in Firefox 1.x) displays a message that the link was blocked.To remove this security check for only
myportal://URLs, add the following to youruser.jsfile:
Note that this fixes the problem only for the top-leveluser_pref("capability.policy.policynames", "localfilelinks"); user_pref("capability.policy.localfilelinks.sites", "myportal://"); user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");myportal://page; sub-portal URLs would need to be added to thesitesstring individually. See MozillaZine for more information.Alternatively, try the LocalLink extension, which allows opening links to local files from the context menu.