takeForeground method
Causes Windows Internet Explorer to try to take the Win32 foreground for itself.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
Syntax
DiagnosticsExternal.takeForeground();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Remarks
The caller should probably call the Win32 API AllowSetForegroundWindow with the Internet Explorer process ID beforehand for this to work.