Skip to content

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.

Chrome, Edge, Vivaldi, etc.

Go to Manage Extensions > Details (or chrome://extensions/?id=mfgdmpfihlmdekaclngibpjhdebndhdj)
and enable "Allow access to file URLs"

chrome://extensions

Firefox

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 about:debugging

The final config should look something like this (except for the addon URL which is different on every PC): about:config

Clone this wiki locally