Page 2 of 4

Re: Local links not working in FF28?

Posted: Fri Mar 28, 2014 5:02 pm
by devinname
barbaz wrote:CAPS is still in Firefox 28 but it's deprecated.
It's Firefox *29* that removes it.
So the ONLY way to automatically make local links work in FF28 is to edit that config stuff. And in 29+, it is to use an old version of Firefox???

I have seen some addons that will let you open a local link through the context menu, but that isn't good enough of a solution for our company based on how much time that would take away.

Re: Local links not working in FF28?

Posted: Tue Apr 01, 2014 8:00 am
by Koopz
So... will there be a fix for this or are we forced to stay with FF 27/28?
If so, are there any other alternatives? We'd also be able to change browsers in order to stay up to date.

Re: Local links not working in FF28?

Posted: Tue Apr 01, 2014 8:49 am
by Giorgio Maone
I'm actively investigating viable solutions.
In the meanwhile, you may want to switch to Firefox ESR, which is probably a sensible choice in an enterprise environment anyway.

Re: Local links not working in FF28?

Posted: Tue Apr 01, 2014 1:58 pm
by Giorgio Maone
BTW, do you need to link embedded resources like images as well, or just open HTML/text documents and downloadable files?

Re: Local links not working in FF28?

Posted: Tue Apr 01, 2014 5:01 pm
by devinname
Giorgio Maone wrote:BTW, do you need to link embedded resources like images as well, or just open HTML/text documents and downloadable files?
My use case is just to documents, directory listings, and downloadable files. I know that others have mentioned that they use local links to display image content that is stored on local paths instead of the internet path (so I'm sure they would love it if that could be retained, but i don't need it).

Also,
Looking into ESR right now. Thanks :)

Re: Local links not working in FF28?

Posted: Wed Apr 02, 2014 7:11 am
by Hansl
Well, we use intranet pages like database queries that have links like file:///S:/path/to/some/document.odt which should start the respective programs. Mostly LibreOffice, PDF Viewer, CAD. Sometimes .txt or .jpg which were opened in firefox directly, but I could have those in external viewers too if necessary.
Anyway, we sorely miss these local links since some days and hope ver much for your solution.
Thanks, Hans

Re: Local links not working in FF28?

Posted: Wed Apr 02, 2014 9:04 am
by Koopz
We need to be able to directly open local files (no download to temporary folder) and also we need to open folders in Windows Explorer... but as far as i remember i had locked two properties in the FF configuration in order to be able to do that so this shouldn't be your problem.

If anyone is wondering how the config looked like:

Code: Select all

lockPref("network.protocol-handler.external.file", true);
lockPref("network.protocol-handler.expose.file", false);
That way i was able to choose Windows Explorer as Handler for file-links.

Re: Local links not working in FF28?

Posted: Sat Apr 05, 2014 9:16 am
by Pronets
Where documentation about DomainPolicy replacement for CAPS?

Re: Local links not working in FF28?

Posted: Mon Apr 07, 2014 5:22 pm
by devinname
Pronets wrote:Where documentation about DomainPolicy replacement for CAPS?
What do you mean?

Are you asking to we are to do once CAPS is gone?

Re: Local links not working in FF28?

Posted: Thu Apr 10, 2014 4:37 pm
by devinname
So I have only found 1 page that talks about the replacement for caps (https://bugzilla.mozilla.org/show_bug.cgi?id=840488)

However, as I read through this list, nothing talks about local links. Am I correct in saying that for firefox 28+ right now, local links are impossible?

Re: Local links not working in FF28?

Posted: Thu Apr 10, 2014 5:03 pm
by barbaz
You can't get local links working in Fx 28 with CAPS?
(you may need to close Fx and edit prefs.js or user.js manually to set the prefs properly)

Re: Local links not working in FF28?

Posted: Thu Apr 10, 2014 5:22 pm
by devinname
barbaz wrote:You can't get local links working in Fx 28 with CAPS?
(you may need to close Fx and edit prefs.js or user.js manually to set the prefs properly)
Correct, I can't.

It has been a while since I last tried (I moved the machines to ESR firefox and put noscript on), but I was closing firefox, editing either or both files. Also removing noscript as that can cause issues with manual edits. And it still wasn't working.

Re: Local links not working in FF28?

Posted: Thu Apr 10, 2014 8:49 pm
by barbaz
Giorgio Maone wrote:just open HTML/text documents and downloadable files
@Giorgio: Just for fun, I've made a PoC extension that should re-enable this aspect of local links on selected sites (tested on Gecko 29, seems to work for file:// URLs). It's very preliminary, and I don't know if the approach I used would work for NoScript, but if you want more info or any of the code, feel free to PM me.

Re: Local links not working in FF28?

Posted: Thu Apr 10, 2014 9:27 pm
by Giorgio Maone
barbaz wrote:
Giorgio Maone wrote:just open HTML/text documents and downloadable files
@Giorgio: Just for fun, I've made a PoC extension that should re-enable this aspect of local links on selected sites (tested on Gecko 29, seems to work for file:// URLs). It's very preliminary, and I don't know if the approach I used would work for NoScript, but if you want more info or any of the code, feel free to PM me.
The way I was going to implement it is pretty simple, i.e. intercepting the load attempt in our nsIContentPolicy.shouldLoad() implementation and, if both the page and the destination match the whitelist, block the current load and restart it it from chrome context (where the check is relaxed).
Anyway I'd love to look at your implementation, thank you.

Re: Local links not working in FF28?

Posted: Thu Apr 10, 2014 10:10 pm
by barbaz
Giorgio Maone wrote:Anyway I'd love to look at your implementation, thank you.
sent by PM