How to know the browser name in Javascript ?

CK CK 3788 
Created at
Updated at  
640 0 0

There are two objects often used for this, the navigator.appName and navigator.appVersion objects. The first one returns the name of the browser, the second returns the version of the browser.
 

<HEAD>
<SCRIPT language="JavaScript">
<!--
alert ( 'Browser name is' + navigator.appName);
//-->
</SCRIPT>
</HEAD>


Isn't it simple ?

Tags HTML Javascript Javascript Dialog Facebook X
Comments 0
Similar posts
  1. How to know browser version in javascript ?
    444
  2. Javascript Prompts
    450
  3. Javascript Confirmation
    593
  4. Select All, None, Invert checkbox
    506
  5. Photo thumbnail viewer implemented in javascript
    487
  6. To get web browser capability
    526
  7. Javascript based query parser for AJAX application
    565
  8. Displays the html tags without rendering on a webpage
    352
  9. To hide/show area of web page without re-loading a page
    1,021
  10. To compare two HTML tables on web page in real time
    515
  11. Photoshop script programming in Javascript
    531
  12. Simple RSS Reader based on javascript
    502
  13. How to find the ip address of a client machine from a web application?
    518
  14. Clipboard copy function working
    3,368
  15. IFRAME Auto Resize in IE, FireFox by Javascript
    455
  16. How to include Javascript from anonther ?
    411
  17. Javascript based Browser Sniffing
    433
  18. Javascript based Regular Expression Tester
    374
  19. Two useful string functions - substr & substring
    407
  20. Is there URLEncode function in Javascript ?
    393
  21. Move window
    548
  22. How to calculate page loading time ?
    360
  23. Number Of Vists
    512
  24. Add Message On Mouse Traling
    2,557
  25. Tooltip
    408
  26. Document Fader
    346
  27. Book Mark This Site
    405
  28. Icon Coupled Url
    427
  29. Button That Will Close The Browser Window
    350
  30. Button That Will Show The Page's Source
    387
  1. Creating a Pinterest-Style Card Layout with Bootstrap and Masonry
    595
  2. Equal Height Blocks in Bootstrap with JavaScript
    710
  3. Copy text to clipboard in Javascript
    1,715
  4. To block copy & paste on your blog content
    901
  5. Shake your browser window by Javascript
    935
  6. Photoshop script programming in Javascript
    531
  7. To compare two HTML tables on web page in real time
    515
  8. To hide/show area of web page without re-loading a page
    1,021
  9. Displays the html tags without rendering on a webpage
    352
  10. Javascript based query parser for AJAX application
    565
  11. To get web browser capability
    526
  12. Photo thumbnail viewer implemented in javascript
    487
  13. Javascript Confirmation
    593
  14. Javascript Prompts
    450
  15. How to know browser version in javascript ?
    444
  16. Select All, None, Invert checkbox
    506
  17. Simple RSS Reader based on javascript
    502
  18. How to find the ip address of a client machine from a web application?
    518
  19. Put Date Time on HTML
    551
  20. IFRAME Auto Resize in IE, FireFox by Javascript
    455
  21. How to elimiate the "Restore Previous Session" dialog when FireFox 2.0 starts
    409
  22. How to include Javascript from anonther ?
    411
  23. Javascript based Browser Sniffing
    433
  24. Javascript based Regular Expression Tester
    374
  25. Two useful string functions - substr & substring
    407
  26. How to block a connection from the certain site ?
    352
  27. Is there URLEncode function in Javascript ?
    393
  28. Move window
    548
  29. How to calculate page loading time ?
    360
  30. Number Of Vists
    512
Recently updated
  1. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    40
  2. Why SPF and DKIM Are Essential for Linux Email Servers?
    34
  3. How do I create animated background for Google Meet?
    20,613
  4. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    244
  5. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    94
  6. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    157
  7. Array of arguments passed to script in PHP
    90
  8. Invalid Auction Storms in Ad Tech
    98
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    202
  10. The Two Clocks of Ad Server Architecture
    70
  11. Frequency Cap Architecture Overview
    514
  12. Collecting Proof-of-Play from 100,000 Screens
    146
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    287
  14. What is RedisVL?
    109
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    230
  16. TPU & GPU Cluster Management Tools
    244
  17. The Concept of Scaffolding in AI Agents
    233
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    583
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    258
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    339
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    202
  22. Machine Learning: Training vs. Ranking
    221
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    222
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    195
  25. Designing a Data Curation System Around a Vector Database
    220
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    256
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    656
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    195
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    217
  30. Understanding Data Lineage
    260