//js最大化窗口
Clients.evalJavaScript("window.moveTo(0, 0); window.resizeTo(window.screen.availWidth, window.screen.availHeight);");
//js关闭窗口
Clients.evalJavaScript("window.opener=null; window.close();");