ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isBrowserLocal

Function

isBrowserLocal

ClientBrowserTrilogy Hub only

Checks whether the browser is local (resource files) rather than remote (internet).

Syntax

bool isBrowserLocal(browser webBrowser)

Arguments

webBrowserbrowser
The browser.

Returns

true for a local browser.

Example

if isBrowserLocal(browser) then
    executeBrowserJavascript(browser, "init()")
end