Since using NoScipt 2.9.5.1. the links to files / directories on our intranet are blocked.
Settings: allow local links in the settings, our intranet is a trusted page.
Allow local links seems not to work any more
Allow local links seems not to work any more
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Re: Allow local links seems not to work any more
By the way: Mozilla applications block links to local files on their own.
http://kb.mozillazine.org/Firefox_:_Iss ... Don't_Work
Why doesn't NoScript support this method that allows to change this setting on a per-site basis using capability.policy.localfilelinks.sites?
http://kb.mozillazine.org/Firefox_:_Iss ... Don't_Work
Why doesn't NoScript support this method that allows to change this setting on a per-site basis using capability.policy.localfilelinks.sites?
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Re: Allow local links seems not to work any more
It does: see viewtopic.php?f=7&t=19868#p70689
Just at the moment there seem to be a few difficulties with the latest changes in FF50 but I trust in Giorgio to resolve this.
Just at the moment there seem to be a few difficulties with the latest changes in FF50 but I trust in Giorgio to resolve this.
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Still: Allow local links seems not to work
I'm using Firefox 50.0.2 and I've just tested NoScript 2.5.9.2:
Local links do not work in our intranet and I have to use an older version of NoScript again.
Local links do not work in our intranet and I have to use an older version of NoScript again.
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Re: Still: Allow local links seems not to work
Sorry it's the current version 2.9.5.2 (not 2.5.9.2).WaudelSepp wrote:I'm using Firefox 50.0.2 and I've just tested NoScript 2.5.9.2:
Local links do not work in our intranet and I have to use an older version of NoScript again.
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Allow local links: o.k. in 2.9.0.14
More detailed description:
In our intranet pages with links to local files are created.
Example: file:///I:/.../EP000001201986B1.pdf
Since NoScript 2.9.5.1 nothing happens, when clicking at such a link.
Before it worked, if links to local files are allowed for trusted pages as our intranet is a trusted page
I've just returned to NoScript 2.9.0.14 and the links to local files are working again as intended:
https://addons.mozilla.org/de/firefox/a ... n-2.9.0.14
So I think this is a problem in the new NoScript versions 2.9.5.1 and 2.9.5.2.
And it is not solved. At least it does not work for me (Windows 10 64-bit, Firefox 50.0.2 32-bit).
In our intranet pages with links to local files are created.
Example: file:///I:/.../EP000001201986B1.pdf
Since NoScript 2.9.5.1 nothing happens, when clicking at such a link.
Before it worked, if links to local files are allowed for trusted pages as our intranet is a trusted page

I've just returned to NoScript 2.9.0.14 and the links to local files are working again as intended:
https://addons.mozilla.org/de/firefox/a ... n-2.9.0.14
So I think this is a problem in the new NoScript versions 2.9.5.1 and 2.9.5.2.
And it is not solved. At least it does not work for me (Windows 10 64-bit, Firefox 50.0.2 32-bit).
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Re: Allow local links seems not to work any more
See viewtopic.php?f=10&t=22308#p85113:
You need to set those five lines in prefs.js (specific for your web server, of course)
and UNCHECK the global NoScript Options|Advanced|Allow local links.
You may close FF for this and then edit its prefs.js and restart FF, or add them in FF as strings in about:config.
You need to set those five lines in prefs.js (specific for your web server, of course)
Code: Select all
user_pref("noscript.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
user_pref("capability.policy.localfilelinks.sites", "<your web server here>");
user_pref("capability.policy.policynames", "maonoscript localfilelinks");
user_pref("noscript.excaps", "false");
You may close FF for this and then edit its prefs.js and restart FF, or add them in FF as strings in about:config.
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Perfect Solution: How to handle local links
Thank you Hansl.
You suggestion works perfect and is much better than allowing local links in a global way.
I have used a similar method changing user.js:
But this did not work when using NoScript. And in the latest versions of NoScript also the work around (generally allow local links for trusted pages) did not work any more.
By the way. You wrote in your posting (link above):
At least in my case this has worked up to Firefox 50.0.2 and NoScrtipt < 2.9.5.1 (e.g. today with NoScript 2.9.0.14 before applying your fine solution).
Best regards,
Christian
You suggestion works perfect and is much better than allowing local links in a global way.
I have used a similar method changing user.js:
Code: Select all
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites","Web-Server1 Web-Server2 ...");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
user_pref("network.proxy.type", 0);
By the way. You wrote in your posting (link above):
.Due to changes in FF 28 this also stopped working
At least in my case this has worked up to Firefox 50.0.2 and NoScrtipt < 2.9.5.1 (e.g. today with NoScript 2.9.0.14 before applying your fine solution).
Best regards,
Christian
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0