This function is called when a cookie is received after requesting a URL. The cookie can be canceled or changed before being accepted.

$ocr_accept - whether to accept (save) the cookie; defaults to 1 for true

$ocr_data - the cookie data (editable)

$ocr_url - the URL that was requested (editable)

This function is supported only in CSE HTML Validator v12.0013 and later.


function onCookieReceived() {
 ProgressMessage('Received cookie: "'+$ocr_data+'" from "'+$ocr_url+'"',0x1400);