Your might have your pages done and save in your local file system and would like to test it using Google Chrome. BUT, Google Chrome browser will not load local file by default due to security reason. The trick to solve this issue is simple, simply launch the Google Chrome browser from the command line window with the additional argument “–allow-file-access-from-files“.
chrome.exe --allow-file-access-from-files
Google Chrome browser is ready to load your local file now.
Note:
You need to browse to google chrome directory in you local file system before enter the above mentioned command.
e.g C:\Users\askyb\AppData\Local\Google\Chrome\Application>
Hi, thanks for your solution but in command line or shortcut as : “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –allow-file-access-from-files
its don’t work !
Have you a solution
Best Marc
Doesn’t appear to work for me. Of course, I wasn’t actually trying to load a specific file, but rather I was trying to view a “local” web site running on my test server.
It does not work as intended. I’ve added chrome app to read epub files. When I open local epub file in chrome, using Ctrl+O it simply downloads the file in chrome. It should instead open the file in Chrome using chrome app.