Created
April 25, 2014 02:58
-
-
Save suxiaogang/11276512 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(function(){ | |
if($.browser.msie) { | |
alert("IE浏览器"); | |
}else if($.browser.opera) { | |
alert("opera浏览器"); | |
}else if($.browser.mozilla) { | |
alert("<font id="wordhighlight_id4" class="wordhighlight_ext wordhighlight_word2" name="wordhighlight_word2">火狐</font>浏览器"); | |
}else if($.browser.safari) { | |
alert("safari浏览器"); | |
} | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment