self:is_incognito

Client

Retrieves whether the webview is in incognito mode


Syntax

local result = self:is_incognito()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the webview is fullscreen, false otherwise

Examples

Check if a webview is in incognito mode
local entity = core.webview.create()

core.engine.print("info", "Webview incognito:", entity:is_incognito())

On this page