I'm seeing lots of posts from people suggesting they can't get
variants of the following in their user.js to work:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://127.0.0.1");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled",
"allAccess");
I too have this problem. I simply want to be able to access the
following style document
<HTML><HEAD><TITLE>Local myVM Documentation</TITLE>
</HEAD><BODY><H2>User Manual for installation:</H2>
<H3><UL><LI><A
HREF="file:///homes/andyc/myVM/doc/userman/userman.html">myVM</A>
</UL></H3></BODY></HTML>
which is served from my localhost's eclipse online help system, but
whatever I try, I can't get the local file to open in firefox
1.5.0.4 on Linux.
Any comments, help, suggestions, greatly received!
Many thanks
Andy
> I'm seeing lots of posts from people suggesting they can't get
> variants of the following in their user.js to work:
>
> user_pref("capability.policy.policynames", "localfilelinks");
> user_pref("capability.policy.localfilelinks.sites", "http://127.0.0.1");
> user_pref("capability.policy.localfilelinks.checkloaduri.enabled",
> "allAccess");
>
> I too have this problem. I simply want to be able to access the
> following style document
>
> <HTML><HEAD><TITLE>Local myVM Documentation</TITLE>
> </HEAD><BODY><H2>User Manual for installation:</H2>
> <H3><UL><LI><A
> HREF="file:///homes/andyc/myVM/doc/userman/userman.html">myVM</A>
> </UL></H3></BODY></HTML>
Does it work when you write the address directly to the address bar and
hit enter? file:///homes/andyc/myVM/doc/userman/userman.html
First time I see a home folder named "homes". Usually it is just a
"home". That's why I ask, but you should test this anyway, even if homes
is correct on your system.
> which is served from my localhost's eclipse online help system, but
> whatever I try, I can't get the local file to open in firefox
> 1.5.0.4 on Linux.
What url is written to the address bar when you are at your local help
system?
Here is also an article about the subject, which contains propably
better information than random web sites with suggestions:
http://kb.mozillazine.org/Links_to_local_pages_don%27t_work
Thanks for the response:
Aggro wrote:
> Andy Cheadle wrote:
>
>> I'm seeing lots of posts from people suggesting they can't get
>> variants of the following in their user.js to work:
>>
>> user_pref("capability.policy.policynames", "localfilelinks");
>> user_pref("capability.policy.localfilelinks.sites", "http://127.0.0.1");
>> user_pref("capability.policy.localfilelinks.checkloaduri.enabled",
>> "allAccess");
>>
>> I too have this problem. I simply want to be able to access the
>> following style document
>>
>> <HTML><HEAD><TITLE>Local myVM Documentation</TITLE>
>> </HEAD><BODY><H2>User Manual for installation:</H2>
>> <H3><UL><LI><A
>> HREF="file:///homes/andyc/myVM/doc/userman/userman.html">myVM</A>
>> </UL></H3></BODY></HTML>
>
> Does it work when you write the address directly to the address bar and
> hit enter? file:///homes/andyc/myVM/doc/userman/userman.html
Yes of course! I've tried this!
>
> First time I see a home folder named "homes". Usually it is just a
> "home". That's why I ask, but you should test this anyway, even if homes
> is correct on your system.
>
>> which is served from my localhost's eclipse online help system, but
>> whatever I try, I can't get the local file to open in firefox
>> 1.5.0.4 on Linux.
>
> What url is written to the address bar when you are at your local help
> system?
http://127.0.0.1:<variable port number>/help/index.jsp
>
> Here is also an article about the subject, which contains propably
> better information than random web sites with suggestions:
> http://kb.mozillazine.org/Links_to_local_pages_don%27t_work
Thanks, but believe me, I know it well, I've been reading it over and
over and over again!
Any ideas?
Many thanks
Andy
> Aggro wrote:
>> What url is written to the address bar when you are at your local help
>> system?
>
> http://127.0.0.1:<variable port number>/help/index.jsp
Port number? Could it be blocked port number:
http://www.mozilla.org/projects/netlib/PortBanning.html
>> Here is also an article about the subject, which contains propably
>> better information than random web sites with suggestions:
>> http://kb.mozillazine.org/Links_to_local_pages_don%27t_work
>
> Thanks, but believe me, I know it well, I've been reading it over and
> over and over again!
Are you getting some specific error message? Or just blank page or what?
I'm getting the standard security error to the javascript console that
indicates that a local file cannot be executed. 'Security Error: Content
at blah may not load or link to file:///blahblah...
Hence I suggested that capability.policy.localfilelinks.sites is broken!
Cheers
Andy