Sometimes we may have such a requirement, with JS simulation such an action, at the same time press the combination of shortcut keys: Windows flag key +D key, the following function can help us.
function f_ToggleDesktop() {
var objShell = new ActiveXObject("Shell.Application");
objShell.ToggleDesktop();
}