browser
Support Library
This function selects a standard web browser to be used for opening contents using a web browser or accessing Internet contents.
The chosen web browser will be memorized for later use, so it only needs to be done when changing over to another browser.
Presently, B4P is supporting the following browsers:
Full browser name | Short Name | Windows | LINUX | MacOS | Remarks |
---|---|---|---|---|---|
Apple Safari | safari | Yes | |||
Brave | brave | Yes | Yes | ||
Google Chrome | chrome | Yes | Yes | Yes | |
Microsoft Edge | edge | Yes | |||
Microsoft Explorer | explorer | Yes | Obsolete | ||
Mozilla Firevox | firevox | Yes | Yes |
Selection of supported browsers deviate across operating systems.
-
No. | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 input |
string | browser name or option
|
Type | Description |
---|---|
string | Short browser name The short name of the selected browser will be returned. |
echo(new line, "Reset browser ..." );
browser(reset);
echo(new line, "Choose Google Chrome ..." );
browser(chrome);
echo(new line, "Get browser short name ..." );
echo("Browser name = ", browser(get) );
echo(new line, "Display info about chosen browser ..." );
browser(info);