User manual - Web_Browser_Prog_Guide

NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 21
<head>
<meta http-equiv="BatteryNavigate"
content="javascript:OnBattery(%s, %s, %s, %s);">
</head>
<body>
<script language=javascript>
function OnBattery(ACstate, strength, backup, chemistry)
{
if (strength == -1)
{
alert("Unable to determine battery strength.");
}
else
{
alert("Battery strength = " + strength);
}
}
</script>
...
</body>
</html>
3.4 COMMAND
The Command tag performs actions which affect the client application. Currently
this only exits the web browser.
Syntax
http-equiv="Command"
content="exit"
Comments
This tag is supported for compatibility with other browsers. It is preferable to use
the IDA Action Code “IDA_PROGRAM_EXIT” via the IDA META tag, an “ida:”
URL or a PostIDA call.
Example
<html>
<head>
<meta http-equiv="Command" content="exit">
</head>
<body>
This message should not be visible.
</body>
</html>