The PowerOn Meta Tag is used to register to receive an event when the device resumes from suspend mode.
PowerOn (META Tag) Syntax <META HTTP-Equiv="PowerOn" content="PowerOnEvent:url('[jsFunction | url]')">
Retrieval tags return information by replacing the text in place holders, defined as '%s' or '%<number>'. Each place holder represents 1 return value with '%s' being populated sequentially or '%<number>' providing direct acces to the desired value.
PowerOnEventThe PowerOnEvent is sent whenever the device is resumed from suspend mode. There is no data associated with this event.
The following example displays a message box when the device resumes:
Copy example to clipboard
Example usageThis feature is very useful for security. Navigating to an offline page (file:// protocol) when the device is powered on can be used to request a pin number from the user.Use when cradledWindows Power events will not always be generated when the device is connected to power and instructed to stand by / wake up, though this is dependant on the Operating System in use.
Supported Platforms Windows CE, Windows Mobile Persistence This tag is page specific. Min. Requirements None