<script type="text/javascript">
$(function() {
if($.) {
$( function() { alert("this is msie"); });
}
else if($.)
{
$( function() { alert("this is safari!"); });
}
else if($.)
{
$( function() { alert("this is mozilla!"); });
}
else if($.)
{
$( function() { alert("this is opera"); });
}
else
{
$( function() { alert("i don't konw!"); });
}
});
</script>