Create a gist now

Instantly share code, notes, and snippets.

@xarumanx /firefox-settings.bat Secret
Last active Aug 29, 2015

What would you like to do?
Allow file:// links in Firefox (see here: http://devrandom.at/dokuwiki-make-file-links-work-in-firefox/)
if exist "%APPDATA%\Mozilla\Firefox" for /D %%F in ("%APPDATA%\Mozilla\Firefox\Profiles\*") do copy /y \\DOMAIN.COM\netlogon\firefox\user.js %%F
// allow linking to FILE:// - Links from these sites
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://example.com http://example2.com");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment