mirror of https://github.com/IoTcat/kayo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
768 B
29 lines
768 B
<script type="text/javascript" src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script> |
|
<script> |
|
session.onload(function(){ |
|
if(session.get('group') != 'anonymous'){ |
|
function insertNick(){ |
|
if($('.vnick').length){ |
|
$('.vnick').val(session.get('nickname')); |
|
}else{ |
|
setTimeout(insertNick, 500); |
|
} |
|
} |
|
function insertMail(){ |
|
if($('.vmail').length){ |
|
$('.vmail').val(session.get('email')); |
|
}else{ |
|
setTimeout(insertMail, 500); |
|
} |
|
} |
|
|
|
if(session.get('nickname')){ |
|
insertNick(); |
|
} |
|
|
|
if(session.get('email')){ |
|
insertMail(); |
|
} |
|
} |
|
}); |
|
</script>
|
|
|