常用脚本整理


//Js触发按钮事件
var WsShell = new ActiveXObject("WScript.Shell");
WsShell.SendKeys("{F11}");


//窗口大小改变事件
window.onresize=function(){
		if(document.documentElement.clientHeight < document.documentElement.offsetHeight-4){
			//判断是否有滚动条
		}
	}

转载于:https://my.oschina.net/iyoye/blog/804137