THtmlViewer, TFrameViewer, and TFrameBrowser components
property OnScript: TScriptEvent;
The OnScript event occurs when a <script> tag is found while the HTML file is being parsed. See the Type TScriptEvent description for details on the passed parameters.