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 wv = webview.create()

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

On this page