How to Access Local Files in Chromium: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Basics) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
*Hint 2 - 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. | *Hint 2 - 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. | ||
*About the SweetHomeExporter - [http://www.sweethome3d.com/support/forum/viewthread_thread,6708] | *About the SweetHomeExporter - [http://www.sweethome3d.com/support/forum/viewthread_thread,6708] | ||
*Allow your browser to read local files - discussion [http://www.sweethome3d.com/blog/2016/05/05/export_to_html5_plug_in.html]. How to - https://www.google.com/search?q=allow+browser+to+read+local+files | *Allow your browser to read local files - discussion [http://www.sweethome3d.com/blog/2016/05/05/export_to_html5_plug_in.html]. How to - https://www.google.com/search?q=allow+browser+to+read+local+files. But more specifically - allow browser to read local files in linux - https://www.google.com/search?q=allow+browser+to+read+local+files+linux. | ||
*Results: | |||
**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.] | |||
**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
- Hint 2 - 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.
- About the SweetHomeExporter - [1]
- Allow your browser to read local files - discussion [2]. How to - https://www.google.com/search?q=allow+browser+to+read+local+files. But more specifically - allow browser to read local files in linux - https://www.google.com/search?q=allow+browser+to+read+local+files+linux.
- Results:
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 [6]
- 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