Detecting Client Web Browser

Any problem with javascript can be discussed here.
Post Reply
blue-sky
Posts: 33
Joined: Tue Jun 12, 2007 3:41 pm

Detecting Client Web Browser

Post by blue-sky »

Detecting Client Web Browser


This will detect the client browser visiting a page.
Code starts here

Code: Select all

<html>
<head>

<script type="text/javascript">
****.write("You are browsing this site with: "+ navigator.appName)
</script>

</head>
<body>
</body>
</html> 

try it...it's a simple code only.


ami38701
Posts: 62
Joined: Wed Aug 01, 2007 6:42 am

Post by ami38701 »

sure, it is..

are u a master of js??
Image
Gyanu
Posts: 338
Joined: Mon Jul 30, 2007 2:03 pm
Contact:

Post by Gyanu »

yes it works
thanx
Gebbo
Posts: 554
Joined: Tue May 16, 2006 3:22 pm

browser

Post by Gebbo »

ah i see nice code ill apply it to my site..
.............................:: Spirit of Fire ::..................................

Image
Flipper3
Posts: 353
Joined: Tue Feb 28, 2006 12:34 am

Post by Flipper3 »

Well, it's not exactly accurate since it shows Netscape for Firefox since right now it is just displaying the "brand" of web browser.
jasondsouza
Posts: 348
Joined: Thu Jan 12, 2006 8:24 pm
Contact:

Post by jasondsouza »

in case i want to check and put a condition to if it is ie then do this... what do i do... for that...
--jasondsouza
ME working on a very new site. (Coming soon)
Come to my web Site
sakhan
Posts: 217
Joined: Sat May 26, 2007 6:02 am

Post by sakhan »

i have seen the problem of Netscape and firefox usually using a browser detecting code
littlebyte
Posts: 16
Joined: Thu Jan 13, 2011 9:58 am

Post by littlebyte »

where I put these script?
xbox8isa819

xbox live points

Post by xbox8isa819 »

Microsoft Points Codes Xbox Live Points is measured by Microsoft Points which is the coin of the Xbox Live Marketplace realm. Where to purchase xbox 360 live points quickly? xbox360livepointscard.us is your first choice for Competitive Price and Knight Service. It is not xbox live pre-paid code but Microsoft Points account.The Microsoft Points accounts on our website are US server.Currently,there are Xbox Points 4000 account,Xbox Points 6000 account,Xbox Points 8000 account,Xbox Points 10000 account available
Post Reply