|
作者: yuguotu [yuguotu] 论坛用户 | 登录 |
解读出来用户名是多少呀? passwd="ItIsSoEasy"; function disable_right_click(e) { var browser = navigator.appName.substring ( 0, 9 ); var event_number = 0; if (browser=="Microsoft") event_number = event.button; else event_number = e.which; if ( event_number==2 || event_number==3 || event_number==4) { alert ("Right/middle mousebutton is disabled"); return (false); } return (true); } function check_mousekey () { var mouse_key = 93; var keycode = event.keyCode; if ( keycode == mouse_key ) alert ( "Mouse Key Is Disabled" ); } function trap_page_mouse_key_events () { var browser = navigator.appName.substring ( 0, 9 ); document.onmousedown = disable_right_click; if ( browser == "Microsoft" ) document.onkeydown = check_mousekey; else document.captureEvents( Event.MOUSEDOWN ); } window.onload = trap_page_mouse_key_events; |
地主 发表时间: 04/22 16:55 |
回复: CyberSpy [cyberspy] 论坛用户 | 登录 |
一头雾水~ 一个网页源代码,屏蔽鼠标右键 |
B1层 发表时间: 04/22 22:27 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号