ExecuteBrowserJavascript

From Multi Theft Auto: Wiki
Revision as of 12:22, 23 September 2014 by Jusonex (talk | contribs) (Created page with "__NOTOC__ {{Client_function}} This function executes a Javascript string. ==Syntax== <syntaxhighlight lang="lua"> bool executeBrowserJavascript ( browser webBrowser, string jsCode ) </syntaxhighlight>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function executes a Javascript string.

Syntax

bool executeBrowserJavascript ( browser webBrowser, string jsCode )

Required Arguments

  • webBrowser: The web browser which will execute the Javascript code
  • jsCode: The Javascript code string

Returns

Returns true if executing Javascript is allowed in the current context, false otherwise.

Example

Todo

See Also

Todo