This function aims to open URLs from Scilab in the user's internet browser, in a
identical way whatever is the operating system (plateform).
--> browseURL
Opens one or several URLs in the default or preferred web browser
SYNTAX
------
browseURL // Displays this help
browseURL(url)
PARAMETERS
----------
url : Single or vector of full URLs (text).
If no protocol is specified, 'http://' is prepended to url.
DESCRIPTION
-----------
browseURL()
* looks for a web browser set in Scilab Preferences, or a default one,
* opens it -- or new tab(s) in the current browser session --,
* and displays the given URL(s), provided that an internet connexion is alive
WARNING:
* All literal double quotes included in URLs must priorly be encoded as %22
* IE will open a new window for each URL, instead of a new tab.
NOTE: browseURL() has been tested with Firefox, Chrome, IE and Safari
under MSWindow, and with Firefox under Linux.
NOTE: No portable equivalent options common to main web browsers have been
found. Therefore, no option is proposed through browseURL.
For information only, main browser-specific command line options are
presented hereafter for major browsers:
* FIREFOX: -new-windows -new-tab -height 600 -width 600 -search term
-foreground (bring it to the FG)
* CHROME: --user-data-dir
* SAFARI: no options found.
* IE: -k : full screen, no address bar, no navigation bar, no buttons
* EDGE: First release to come.
SEE ALSO
--------
getURL : Download an URL (HTTP, HTTPS, FTP...)
preferences: Set interactively Scilab's web preferences
FEEDBACK
--------
Comments, scoring and bug reports about browseURL() are welcome on
http://fileexchange.scilab.org/toolboxes/453000#new_comment
Feedbacks from Linux and MacOS users are encouraged.
EXAMPLES
--------
browseURL("http://www.scilab.org")
browseURL(['atoms.scilab.org' 'http://help.scilab.org'])
browseURL('fileexchange.scilab.org/toolboxes/360000#files')
browseURL('fileexchange.scilab.org/?order=authors&direction=DESC#advanced')