OnClientBrowserNavigate: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (update for new feature)
mNo edit summary
Line 23: Line 23:
{{Issue|9173|onClientBrowserNavigate is triggered for <iframe> elements}}
{{Issue|9173|onClientBrowserNavigate is triggered for <iframe> elements}}
}}
}}
[[pl:onClientBrowserNavigate]]


==See Also==
==See Also==
{{CEF_events}}
{{CEF_events}}

Revision as of 18:45, 21 July 2016

The event is executed when the browser loads a new page.

Parameters

string targetURL, bool isBlocked, bool isMainFrame
  • targetURL: The page the browser loaded
  • isBlocked: If the browser was created with isLocal set to true, and the browser tried to load a remote page, this would be set to true (and vice-versa)
  • isMainFrame: Whether the entire page (main frame) was loaded or an <iframe> inside the page was loaded

Source

The browser element

Example

Accessories-text-editor.png Script Example Missing Event OnClientBrowserNavigate needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


Issues

Issue ID Description
#9173 onClientBrowserNavigate is triggered for <iframe> elements

See Also