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, or false on failure

Examples

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

wv:clear_history()

On this page