How to Access Local Files in Chromium: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
**Should never have local file access, even from local computer, so set up a mini local server - [https://stackoverflow.com/questions/18586921/how-to-launch-html-using-chrome-at-allow-file-access-from-files-mode]
**Should never have local file access, even from local computer, so set up a mini local server - [https://stackoverflow.com/questions/18586921/how-to-launch-html-using-chrome-at-allow-file-access-from-files-mode]
**For ubuntu- [https://www.heelpbook.net/2014/set-allow-file-access-files-flag-option-google-chrome/#:~:text=On%20Linux%20Operating%20System%20(specifically%20UBUNTU)&text=Go%20to%20the%20menu%20entry,Open%20the%20launcher%20properties%20dialog.&text=Change%20it%20to%20%2Fusr%2Fbin,make%20the%20flags%20work%20permanently.]
**For ubuntu- [https://www.heelpbook.net/2014/set-allow-file-access-files-flag-option-google-chrome/#:~:text=On%20Linux%20Operating%20System%20(specifically%20UBUNTU)&text=Go%20to%20the%20menu%20entry,Open%20the%20launcher%20properties%20dialog.&text=Change%20it%20to%20%2Fusr%2Fbin,make%20the%20flags%20work%20permanently.]
**None of this shit works - [https://stackoverflow.com/questions/18472464/how-do-i-open-a-file-with-chrome-from-the-command-line/51412795]
=Basics=
*How to run an app from command line
*https://www.chromium.org/developers/how-tos/run-chromium-with-flags
**--enable-local-file-accesses should be executable as a flag from command line when running Chrome from command line [https://peter.sh/experiments/chromium-command-line-switches/]
**You can run Chromium from command line with different flags (switches) [https://www.chromium.org/developers/how-tos/run-chromium-with-flags
*According to the above, chromium-browser --enable-local-file-accesses shoulddl do the trick
*Doesn't work
*chromium --enable-local-file-accesses should do the trick
*Still same error when trying to open webgl file at [[Embedding_SweetHome3D_in_Browser#Viewer]]

Latest revision as of 20:49, 9 November 2020

Basics