Overview
Converts file URLs to http://localhost for developer testing purposes
As a developer working under his Localhost server before uploading a project to the WWW, I've encountered one issue that always wastes 3-4 seconds of my workflow. After opening a web document, whether if its an html file, php file or anything else, Google Chrome opens it under file:// protocol instead of http://, resulting in developers clicking on the address bar just to switch to http://localhost. Localhost Automate is what solves it. Localhost Automate provides an easier, more comfortable way to tell the browser to get the http://localhost up there instead of file://, as long as the web document is in the preconfigured folder. Localhost Automate requires a valid path to your localhost folder (ie. d:\wwwroot), so afterwards, if you're opening a file under 'd:\wwwroot\Some_Project', the extension would redirect it to 'http://localhost/Some_Project'. Comments, bugs and suggestions are welcome. Enjoy :)
clément borderiesJul 22, 2021
Hi, I've got an issue, here is my configuration: environment: windows 10 file: "L:/Temp/file.html" Local directory: "L:/Temp" Localhost URL: "localhost" when I open "http://localhost/file.html" I have an error ERR_CONNECTION_REFUSED. I don't understand, I tried to configure the firewall but without success
Ethan KorenDeveloperJul 25, 2021
Hey clément, It sounds to me like your localhost server isn't running. This extension requires a local http server to run properly (it can be done via software like XAMPP/WAMP etc.). Did you make sure that http://localhost/file.html works in another tab without redirecting via Localhost Automate?
Mostafa RahmaniMay 27, 2021
Doesn't work on Mac.
Ethan KorenDeveloperJul 25, 2021
Thanks for the heads up - I'll let you know once it's supported.
Michael YuanOct 20, 2019
Not able to add localhost folder, no error, no message, just not working.
Ethan KorenDeveloperNov 12, 2019
Hi Michael, Have you turned on "Allow access to file URLs" for the extension in the Extensions dashboard? If so, can you tell me what your OS is?
Details
- Version1.1
- UpdatedApril 27, 2018
- Offered byTal Koren
- Size85.98KiB
- LanguagesEnglish
- Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.