HU/isBrowserLoading
Jump to navigation
Jump to search
This function checks if a browser is currently loading a website.
Syntax
bool isBrowserLoading ( browser webBrowser )
OOP Syntax Help! I don't understand this!
- Method: browser:isLoading(...)
- Variable: .loading
Required arguments
- webBrowser: The browser
Returns
Returns true if the browser is loading a website, false otherwise and nil if invalid arguments were passed.
Example
This example will add an command /checkload to check if the site is loading or not.
local webbrowser = createBrowser(1000, 1000, false, false) loadBrowserUrl(webbrowser, "https://www.youtube.com/watch?v=jofNR_WkoCE") addCommandHandler("checkload", function() if isBrowserLoading(webbrowser) then outputChatBox("Please wait, The site is loading!") else outputChatBox("This site was already loaded") end end )
Lásd még
- HU/canBrowserNavigateBack
- HU/canBrowserNavigateForward
- HU/createBrowser
- HU/executeBrowserJavascript
- HU/focusBrowser
- HU/getBrowserProperty
- HU/getBrowserSettings
- HU/getBrowserSource
- HU/getBrowserTitle
- HU/getBrowserURL
- HU/injectBrowserMouseDown
- HU/injectBrowserMouseMove
- HU/injectBrowserMouseUp
- HU/injectBrowserMouseWheel
- HU/isBrowserDomainBlocked
- HU/isBrowserFocused
- HU/isBrowserLoading
- HU/loadBrowserURL
- HU/navigateBrowserBack
- HU/navigateBrowserForward
- HU/reloadBrowserPage
- HU/requestBrowserDomains
- HU/resizeBrowser
- HU/setBrowserAjaxHandler
- HU/setBrowserProperty
- HU/setBrowserRenderingPaused
- HU/setBrowserVolume
- HU/toggleBrowserDevTools
GUI Függvények