Local links not working in FF28?

Ask for help about NoScript, no registration needed to post
devinname

Re: Local links not working in FF28?

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Koopz

Re: Local links not working in FF28?

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Local links not working in FF28?

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Local links not working in FF28?

Post by Giorgio Maone »

BTW, do you need to link embedded resources like images as well, or just open HTML/text documents and downloadable files?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
devinname

Re: Local links not working in FF28?

Post 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 :)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Hansl
Junior Member
Posts: 28
Joined: Wed Apr 02, 2014 6:58 am

Re: Local links not working in FF28?

Post 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
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Koopz

Re: Local links not working in FF28?

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Pronets
Junior Member
Posts: 24
Joined: Sun Feb 21, 2010 10:42 am

Re: Local links not working in FF28?

Post by Pronets »

Where documentation about DomainPolicy replacement for CAPS?
Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0
devinname

Re: Local links not working in FF28?

Post 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?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
devinname

Re: Local links not working in FF28?

Post 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?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Local links not working in FF28?

Post 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)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26a2
devinname

Re: Local links not working in FF28?

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Local links not working in FF28?

Post 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.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 SeaMonkey/2.28a1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Local links not working in FF28?

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Local links not working in FF28?

Post by barbaz »

Giorgio Maone wrote:Anyway I'd love to look at your implementation, thank you.
sent by PM
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 SeaMonkey/2.28a1
Post Reply