-
-
Notifications
You must be signed in to change notification settings - Fork 103
Opening local files
Isaiah Billingsley edited this page Oct 16, 2023
·
3 revisions
Browsers block extension access to local files by default.
Follow the instructions below to allow links to local files from the new tab page.
Go to Manage Extensions > Details (or chrome://extensions/?id=mfgdmpfihlmdekaclngibpjhdebndhdj
)
and enable "Allow access to file URLs"
Go to about:config
and add the following string values:
Name | Value |
---|---|
capability.policy.policynames | localfilelinks |
capability.policy.localfilelinks.checkloaduri.enabled | allAccess |
capability.policy.localfilelinks.sites | moz-extension://UNIQUE_ID_OF_ADDON_ON_YOUR_PC |
The last value should be the addon URL - this is different on every PC.
You can find the addon URL at about:debugging#/runtime/this-firefox
The final config should look something like this (except for the addon URL which is different on every PC):