The default autolaunch
can only launch Web UI in the default browser with no customization available.
However, there are scenarios where users desire to launch the Web UI in a browser of their choice.
In such cases, one would need to manual open the Web UI in their preferred browser or create a custom script that does it for them.
With this extension you will be able to override the default autolaunch
and set custom autolaunch command
in settings.
After installation of this extension, you will several new options at the bottom of the Setting
> Systems
tab
-
Enable custom AutoLaunch
Enable / DisableCustom AutoLaunch command
-
Custom AutoLaunch command
A custom command to be executed when Web UI you are loads
"C:\Program Files\Mozilla Firefox\firefox.exe" -new-window {url}
This is a command that consisted of three parts, the function is to launch Web UI in a new Firefox window.
The three part corresponds to Executable
, Argument(s)
, {url}
:
Executable
: Path to Firefox executable
Paths that contain spaces needs to be enclosed in quotes.Argument(s)
: A command line argument of Firefox, this maks it launch a new window.
Different programs would have different arguments, please read the documentation of the application of your choice.
You may use multiple arguments.{url}
: placeholder for Web UI's URL, it will automatically be replaced with the actual URL.
When using the placeholder input exactly{url}
lowercase including the brackets
- When
Custom AutoLaunch
is enabled thedefault autolaunch
will be disabled Custom AutoLaunch
is triggered under the same conditions governed by
Automatically open Web UI in browser on startup
and--autolaunch
In other words ifopen Web UI in browser
is disabledCustom AutoLaunch
will not trigger
In essence this extension allows any one to run any command when Web UI loads
this is a huge security risk as it can be exploited to do just about anything
as such the command
setting is Read-only
if Web UI can be accessed remotely.
Accessible remotely is defined as if any of
--share
,--listen
,--ngrok
,--server-name
Command Line Arguments are in use.
If necessary you can forcibly allow modification by using --enable-insecure-extension-access
Use this only when necessary and immediately disabled afterwards.