在页面加载时,模拟键盘输入
<script language="javascript">
function selecttoolid(id){
var WshShell = new ActiveXObject("Wscript.Shell");
switch(id){
case 'find':
try{WshShell.SendKeys("^f");} catch(e){}
break
}
WshShell.Quit;
}
</script>
<body onload="selecttoolid('find')">
</body>
function selecttoolid(id){
var WshShell = new ActiveXObject("Wscript.Shell");
switch(id){
case 'find':
try{WshShell.SendKeys("^f");} catch(e){}
break
}
WshShell.Quit;
}
</script>
<body onload="selecttoolid('find')">
</body>