# OnRemoveDownload Event Fires when a download has been terminated. Syntax
    SiteKiosk.Network.Downloads.OnRemoveDownload = handler
Parameters
download | Download object.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when a download has been terminated.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Network.Downloads.OnRemoveDownload = OnRemoveDownload;
    function OnRemoveDownload(download)
    {
       alert(download.DownloadURL + " has been terminated");
    }
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top