---
title: "Discussion on \"How to check if the browser is Safari programmatically?\" | Hashnode"
description: "Discussion on \"How to check if the browser is Safari programmatically?\". In this article, we review how you can check if the browser is Safari programmatically. We will look at:\n\nisSafari function\n\nnavigator.userAgent\n\n\n\nisSafari function\nI found the following code in the snapdom/src/utils/helpers.js\nexport function isSaf..."
url: "https://hashnode.com/posts/how-to-check-if-the-browser-is-safari-programmatically/689b5e2f1a97b86d6a86ff95"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to check if the browser is Safari programmatically?](https://thinkthroo.com/blog/how-to-check-if-the-browser-is-safari-programmatically?utm_source=hashnode&utm_medium=feed)

In this article, we review how you can check if the browser is Safari programmatically. We will look at: isSafari function navigator.userAgent isSafari function I found the following code in the snapdom/src/utils/helpers.js export function isSaf...

Aug 12, 2025 · 2 min read · thinkthroo.com  
Read the article

-   [#safari](https://hashnode.com/tag/safari)
-   [#navigator](https://hashnode.com/tag/navigator)
-   [#user-agent](https://hashnode.com/tag/user-agent)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#snapdom](https://hashnode.com/tag/snapdom)

## Written by

[Ramu Narasinga](https://hashnode.com/@ramunarasinga)

@ramunarasinga · India

  
[View profile](https://hashnode.com/@ramunarasinga)

I study large open-source projects and create content about their codebase architecture and best practices, sharing it through articles, videos.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
