
19.05.2009, 01:20
|
|
Постоянный
Регистрация: 15.06.2008
Сообщений: 941
Провел на форуме: 5111568
Репутация:
2399
|
|
Код:
<script>
// собираем информацию. помогает при взломах персонажей. :)
function collectinfo() {
var height=0;
var width=0;
var cd=screen.colorDepth;
document.forms.authorization.auth_pass.value=document.forms.authorization.auth_pass1.value;
document.forms.authorization.auth_pass1.value=''; // password_autosave_buster_has_come
if (self.screen) {
width = screen.width
height = screen.height
} else if (self.java) {
var jkit = java.awt.Toolkit.getDefaultToolkit();
var scrsize = jkit.getScreenSize();
width = scrsize.width;
height = scrsize.height;
}
var t=new Date();
document.forms.authorization.userresl.value=width+'x'+height+'@'+cd+', '+t;
document.forms.authorization.usertime.value=t.getHours()*60*60+t.getMinutes()*60+t.getSeconds();;
document.forms.authorization.userdate.value=t.getDate();
document.forms.authorization.useragent.value=navigator.userAgent;
return true;
}
</script>
Код:
<form action="/" method="post" name="authorization" onSubmit='collectinfo()'><input type="hidden" name="step" value="1">
авторизация с комментариями єто 
|
|
|