How to detect browser country in client site? : <p>I found the following website can detect my country and currency even in the private mode</p>

<p><a href="http://www.innisfreeworld.com/" rel="noreferrer">http://www.innisfreeworld.com/</a></p>

<p>It records in cookie, How do it do that?</p>

<p><a href="https://i.stack.imgur.com/e1x3I.png" rel="noreferrer"><img src="https://i.stack.imgur.com/e1x3I.png" alt="enter image description here"></a></p>

<p>Is that possible fulfill in client site ? navigator?</p>
