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
1 ★
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

How to download and manually install Local File Server extension for Chrome

Looking for a way to install Local File Server extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Local File Server extensions manually, this article outlines two simple methods to effortlessly install Local File Server extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Local File Server extension and manually install through Drag &Drop

If you ever need to manually install a Local File Server extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Local File Server Extension by clicking the "Download CRX" button on the website.

Look for the Local File Server extension you wish to install. Go to the website and download the Local File Server extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Local File Server extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Local File Server extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Local File Server extension for Chrome and install in Developer Mode

This is another method to install Local File Server extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Local File Server extension file

Select and download the Local File Server extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Local File Server extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Local File Server extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Local File Server extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Local File Server extension in 2 ways. We hope this guide proves helpful.

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