I wrote a HTML page with some Javascript for offline data visualization with D3js.
Now, I simply want to open my page at work calling it from a code (like python or MATLAB for example).
So, I've found the command --allow-file-access-from-files
for loading the D3js library and my script. This is the page where I found the option.
I need a solution feasible for me and my collegues: I placed my HTML page on a shared path so everyone could launch the page but, as it is pointed out here, the --allow-file-access-from-files
option is quite dangerous for security.
So here my questions:
Is there a option I can use to open a new Chrome instance in offline mode by command line?
Do I need a local server (e.g. via Python
http.server
) to combine my goal with the needed security?
I would prefer avoiding forcing my colleagues to install further programs (like Python).
Any suggestion is really appreciated.