ExecuteBrowserJavascript: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:


==Example==
==Example==
Todo
<syntaxhighlight lang="lua">
--todo
</syntaxhighlight>


==See Also==
==See Also==
{{CEF_functions}}
{{CEF_functions}}

Revision as of 19:26, 29 September 2014

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