Using a field in ACUCOBOL.DEF, your COBOL program can determine whether or not it is running in a Web browser via the ACUCOBOL-GT Web Runtime. The field, known as IS-PLUGIN, is defined in the SYSTEM-INFORMATION group of ACUCOBOL.DEF.
For example, you might include the following code:
ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO. if IS-PLUGIN then display message box "Running via the Web runtime" else display message box "Running via stand-alone runtime" end-if.