mieserwicht wrote:If you allow the scripts on a domain, which is allowed to load local files, the scripts do not work on this site.
[...]
The right to load local files is set via:
user.js
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://www.example.com");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
This is a CAPS (configurable access policies) limit: a site can belong to one and only one policy at the same time (NoScript's policy or your "localfilelinks" one), otherwise its outcome is unpredictable.
mieserwicht wrote:Perhaps this could be combined with a feature request:
Add the right to load local files to the additional permissions for trusted sites.
If this behaviour is OK for you, just remove the
user_pref(...) lines listed above and add this one:
user_pref("capability.policy.maonoscript.checkloaduri.enabled", "allAccess");
This way you'll be able to follow file:// links from NoScript trusted sites.