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

Function

getBrowserTitle

ClientBrowserIdentical to MTA:SA

Returns the page title (from <title>).

Syntax

string getBrowserTitle(browser webBrowser)

Arguments

webBrowserbrowser
The browser.

Returns

The title or false.

Example

addEventHandler("onClientBrowserDocumentReady", browser, function()
    outputChatBox("Załadowano: " .. getBrowserTitle(source))
end)