- UID
- 60387
- 帖子
- 45
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2007-6-1
|
公司网站登录需要按F12的,但是TW按了F12后没反应(已经取消了所有过滤,也没使用“安全浏览”和“性能优化”,也安装了JAVA),但是用火狐就能登录,javascript代码如下:
<script language="javascript" type="text/javascript">
<!--
function hotKey(event)
{
var evt = event;
var key = evt.keyCode;
var TLR_NO= document.myform.TLR_NO.value;
var KEYBOARDPASSWORD = document.myform.PSW.value;
var TRM_NO = document.myform.TRM_NO.value;
if(key==123)//F12ܼ
{
window.open("txservice?txcode=9994930&flag=s&TLR_NO="+TLR_NO+"&PSW="+KEYBOARDPASSWORD+"&TRM_NO="+TRM_NO,"","toolbar=no,directories=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,height=" + screenY + ",width=" + screenX + ",copyhistory=no,top=-0,left=-0");
//myform.submit();
}
}
document.onkeydown = hotKey;
</script> |
|