惯用脚本整理

常用脚本整理//Js触发按钮事件var WsShell new ActiveXObject(WScript.Shell)WsShell.SendKeys({F11

常用脚本整理

//Js触发按钮事件var WsShell = new ActiveXObject("WScript.Shell");WsShell.SendKeys("{F11}");//窗口大小改变事件window.onresize=function(){if(document.documentElement.clientHeight < document.documentElement.offsetHeight-4){//判断是否有滚动条}}