---
title: "Discussion on \"Check if the user is from EU with JavaScript\" | Hashnode"
description: "Discussion on \"Check if the user is from EU with JavaScript\". Obviously your best guess is to ask the user. That being said, we generally want to avoid interrupting the user. Websites and apps are (or at least should be) about what the user's needs not ours. \nThat being said, given the many legislation requirem..."
url: "https://hashnode.com/posts/check-if-the-user-is-from-eu-with-javascript/60906760953edb0234b82b04"
---

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

Discussion

# [Check if the user is from EU with JavaScript](https://danielcobo.com/check-if-the-user-is-from-eu-with-javascript?utm_source=hashnode&utm_medium=feed)

Obviously your best guess is to ask the user. That being said, we generally want to avoid interrupting the user. Websites and apps are (or at least should be) about what the user's needs not ours. That being said, given the many legislation requirem...

May 3, 2021 · 3 min read · danielcobo.com  
Updated May 9, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#geolocation](https://hashnode.com/tag/geolocation)
-   [#cookies](https://hashnode.com/tag/cookies)
-   [#apis](https://hashnode.com/tag/apis)

## Written by

[Daniel Cobo](https://hashnode.com/@cobo)

@cobo

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

👨‍💻 Full-stack developer |🍦Vanilla code advocate

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
