This function is called when a cookie is going to be sent to a URL. the cookie can be canceled or changed before being sent.

$ocs_accept - whether to send the cookie; defaults to 1 for true

$ocs_data - the cookie data (editable)

$ocs_url - the URL that the cookie is being sent to

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


function onCookieSending() {
 ProgressMessage('Sending cookie: "'+$ocs_data+'" to "'+$ocs_url+'"',0x1400);