- Documentation
- Client functions
- isBrowserFocused
Function
isBrowserFocused
Checks whether the browser has keyboard focus.
Syntax
bool isBrowserFocused(browser webBrowser)Arguments
webBrowserbrowser- The browser.
Returns
true if it has focus.
Example
if not isBrowserFocused(browser) then
focusBrowser(browser)
end