allow-file-access-from-files –How to solve the issue for chrome?
Google Chrome is a Google’s freeware game changing web browser. Chrome combines sophisticated technology with a simple user interface, to create a faster, safer and easier browsing experience.
Google Extensions: Extensions are extra features and functionality that you can easily add to Google Chrome. By using extensions, you can customize Google Chrome with features you like, while keeping your browser free of things that you don’t use.
Google Chrome has for a long time provided a list that shows the available switches including their conditions and descriptions. Using the chrome –allow-file-access-from-files option you should be able to run your tests in Google Chrome with no hassles.
There are some solution available on how to overcome or fix this issue.
On Windows Operating System
Get the url of your Chrome Installation path to your chrome installation e.g
Launch the Google Chrome browser from the command line window with the additional argument
‘–allow-file-access-from-files’. E.g ‘path to your chrome installation\chrome.exe
On Linux Operating System (specifically UBUNTU)
This method will fix the issue for permanent
Go to the menu entry/ launcher for Chrome (.desktop file)
Open the launcher properties dialog.
It should look something like this: ‘/usr/bin/google-chrome %U’
Change it to ‘/usr/bin/google-chrome –allow-access-from-files‘ to make the flags work permanently
You may also need to delete and re-pin your launcher(s) after modifying it. Chrome should launch
with the specified flags enabled after the modification.
This method you need to work each time you face this issue
Copy the existing chrome launcher
Do as above and save it with a new name e.g chrome – testing
Alternatively, you can simply create a new launcher with the above and use it to start chrome.
Checking which flags are Enabled in Google Chrome
In the browser Opening chrome and navigating to the URL ‘chrome://version/’ should also list enabled flags in the
Command Line block .
This way you can enable your web google chrome browser for Chrome –allow-file-access-from-files or allow-file-access-from-files
Related Searches: allow-file-access-from-files, allow-file-access-from-files command line option, chrome allow file access from files local files, chrome allow local file access, chrome allow-file-access-from-files not working, –allow-file-access-from-files, chrome allow-file-access-from-files