How do I permanently allow a website to access my location? [duplicate]

In iOS, I only need to be asked once whether I want to allow a website to share my location data. Is it possible to permanently do this in OS X version of Safari as well?

enter image description here


Solution 1:

In your Safari preferences > Privacy :

Select Prompt for each website one time only

enter image description here