Webview.AllCookies

MBS( "Webview.AllCookies"; /* Returns all website cookies as JSON. */$WebViewerRef) /* Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. */
Less

Parameters

Parameter

Description

Example value

WebViewerRef

Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Result

Returns OK or error.

Description

Returns all website cookies as JSON.
For WebKit 1.x, this returns global list of cookies.
For WebKit 2.x, this returns list of cookies associated to the web viewer, which may be a persistent list. For WebKit 2.x we need MacOS 10.13 or iOS 11.0 to work.