- Find the path to Chrome on your computer by opening chrome://version. Look for Executable Path. Copy that path.
- Quit Chrome! Don’t just close your open tabs, but actually quit!
- From your terminal, run
$ YOUR_EXECUTABLE_PATH --allow-file-access-from-files
- Chrome should launch now. Navigate back to chrome://version to see that the flag has been added properly
- To quit, press Ctrl-C in the terminal tab that is running Chrome.