Menu

Get Browser Information

Hi Friend,

Here, we will provide sample demo for “Get Browser” all information.


<script type="text/javascript">// <![CDATA[
txt = " Browser CodeName: " + navigator.appCodeName + " ";  txt += " Browser Name: " + navigator.appName + " ";  txt += " Browser Version: " + navigator.appVersion + " ";  txt += " Cookies Enabled: " + navigator.cookieEnabled + " ";  txt += " Platform: " + navigator.platform + " ";  txt += " User-agent header: " + navigator.userAgent + " "; document.getElementById("example").innerHTML = txt;
// ]]></script>

 
Display browser information in div.

<div id="example"></div>

No comments

Leave a Reply


× 4 = 8

Categories