self:clear_history

Client

Clears all browsing data and history from the webview


Syntax

local status = self:clear_history()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Clear a webview's browsing history
local entity = core.webview.create()

entity:clear_history()

On this page