About 121,000 results
Open links in new tab
  1. How to detect Safari, Chrome, IE, Firefox and Opera browsers?

    You can use Detect-browser.js, JavaScript library that detects and prints an object of browser information including browser language/name, user agent, device type, user OS, referer, online/0ffline, user timezone, screen resolution, and cookie enabled.

  2. How to detect the user browser ( Safari, Chrome, IE ... - GeeksforGeeks

    Jun 29, 2022 · Detecting browser or tab closure in JavaScript is essential for preventing data loss or unintended navigation. Using the beforeunload event, developers can prompt users with a confirmation dialog, ensuring they don't accidentally leave a page with unsaved changes or important information.

  3. Browser detection using the user agent string (UA sniffing)

    Apr 12, 2025 · Along with every request to a server, browsers include a User-Agent HTTP header with a value called a user agent (UA) string. This string is intended to identify the browser, its version number, and its host operating system. You can also access this string via the navigator.userAgent property in JavaScript:

  4. Browser detection in JavaScript? - Stack Overflow

    Mar 8, 2010 · You could use the jQuery library to detect the browser version. Example: jQuery.browser.version. However, this only makes sense if you are also using other functions of jQuery. Adding an entire library just to detect the browser seems like overkill to me. More information: http://api.jquery.com/jQuery.browser/ (you have to scroll down a bit)

  5. 4 Ways to Detect Browser With Javascript (Simple Examples)

    Jun 29, 2023 · This tutorial will walk through various ways to detect the browser using Javascript. Examples and free source code download included.

  6. bowser-js/bowser: a browser detector - GitHub

    Use plain ES5-version which is ~4.8kB gzipped. Optimized. Use only those parsers you need — it doesn't do useless work. Multi-platform. It's browser- and node-ready, so you can use it in any environment. Don't hesitate to support the project on Github or OpenCollective if you like it ️ Also, contributors are always welcome!

  7. How to detect browser in JavaScript [Chrome, Firefox, Safari, Opera ...

    Feb 1, 2022 · Approach 1: JavaScript code to detect browser name using userAgent.match To detect user browser information we use the navigator.userAgent property. And then we match with the browser name to identify the user browser.

  8. Learn How to Detect the User's Browser with JavaScript

    Sep 29, 2024 · Detecting a user's browser can be extremely useful for optimizing performance, applying specific fixes, or enhancing the overall user experience. In this guide, you’ll learn how to detect popular browsers like Chrome, Firefox, Safari, Internet Explorer (IE), …

  9. JavaScript Browser, OS, and Device Detection - HTML Code …

    Detect browser type, operating system, device type using this JavaScript detection script. Includes Brave browser detection, OS version, and device type.

  10. JavaScript Detect Browser Program | Detect Browser In JS

    Apr 27, 2019 · This JavaScript Detect Browser Program detects which browser you using currently. This is a very simple program , always learn from scratch for being an expert. I created this program for detecting only 4 popular browser – Google Chrome, Safari, Mozilla, Edge / Interner Explorer.

  11. Some results have been removed
Refresh