Serve local files via "http://localhost/" URLs.

Latest Version

Version
1.0.2
Update
July 18, 2024
Size
14.3KiB
Developer
Category
Users
59
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
DeclarativeNetRequestWithHostAccess
Storage
See more

Local File Server Extension

The Local File Server extension enables web sites to link to local files via \"http://localhost/\" URLs. For security reasons, Chrome disables links to local files (i.e., \"file://\" links) in remote web pages. Some web services, like for instance Gmail, don't even render such links. Though, there are circumstances where such links are secure and desirable. For example, a process may want to send execution logs via email that contain links to local files. Thanks to this extension these links can be replaced with \"http://localhost/\" links that will be rendered by all web services, that won't be blocked by Chrome, and that the extension will redirect to the desired local file.

The syntax for local file links is \"http://localhost/file.html?path=[&access-key=]\", where is the absolute path to the desired local file and an optional confidential access key that enables the extension to automatically redirect to the local file. If the access key isn't provided or the one provided doesn't match the extension's access key, the extension renders a page with a \"file://\" link and a warning to only click on the link if one was brought there via a trusted party.

When the extension is installed, a cryptographically secure access key is generated and stored in the extension. It can be viewed and changed on the extension's options page. The key must be kept confidential to prevent malicious actors from being able to craft valid links to local files. The key should only be shared with trusted parties that need to create links to local files.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Local File Server", "version": "1.0.2", "description": "Serve local files via \\"http://localhost/\\" URLs.", "icons": {"128": "icon128.png"}, "options_page": "options.html", "background": {"service_worker": "background.js"}, "web_accessible_resources": [{"resources": ["file.html"], "matches": [""]}], "host_permissions": ["http://localhost/*", "file:///*"], "permissions": ["declarativeNetRequestWithHostAccess", "storage"]}
Read more

Similar Extensions

icon

Click link than open local file directly Extension · Developer Tools 59 0 ★ 12.93KiB

icon

Enable local file links Extension · Productivity 59 1 ★ 6.39KiB

icon

Open Local Files in Google Chrome™ Extension · Productivity 59 14 ★ 1.33MiB

icon

File Links Opener Extension · Productivity 59 0 ★ 27.57KiB

icon

Fileshare Extension · Productivity 59 5 ★ 136KiB

icon

Port Knocking Extension · Developer Tools 59 0 ★ 18.41KiB

icon

Localhost Automate Extension · Developer Tools 59 12 ★ 85.98KiB

icon

Kron Http-Proxy Web Extension Extension · Accessibility 59 0 ★ 1.39MiB

icon

Open local folder by explorer Extension · Accessibility 59 3 ★ 14.8KiB

icon

Cookie Pirate Extension · Productivity 59 0 ★ 1.12MiB

icon

Open local file links Extension · Accessibility 59 5 ★ 12.25KiB

icon

Local Explorer - Open File Links in Chrome Extension · Productivity 59 321 ★ 149KiB

icon

Web Mask Extension · Developer Tools 59 1 ★ 48.97KiB

icon

Enhanced File Explorer for Chrome Extension · Accessibility 59 7 ★ 14.03KiB

icon

Enable local file links Extension · Productivity 59 76 ★ 9.46KiB

icon

Content Server Browser Web Extension Extension · Productivity 59 38 ★ 32.99KiB

icon

Folder Opener Extension · Productivity 59 0 ★ 781KiB

icon

Preview pages Extension · Productivity 59 0 ★ 318KiB

icon

Browser terminal Extension · Productivity 59 0 ★ 2.87MiB

icon

RedRain : Access local files. Extension · Accessibility 59 0 ★ 5.37KiB

icon

Open local Link Extension · Productivity 59 2 ★ 129KiB

icon

Chrome Terminal Extension · Productivity 59 4 ★ 76.08KiB

icon

Cookie Helper Extension · Productivity 59 2 ★ 47.64KiB