I am developer and I'm trying to simulate a different location other than my own on Safari on OS X (El Capitan). How do I do that?

EDIT: This is not a duplicate of how might one spoof geographic location on a desktop Mac. That question is about spoofing the location system-wide. I am not trying to (and actually don't want to) spoof my location system-wide, I just want to change it for Safari only.


It seems that this still not possible in Safari.

For Firefox, there are several browser extensions, e.g. Location Guard which does exactly what you want. Or you can change it via the configuration, as described in this Security Stack Exchange answer.

Chrome has this functionality built-in in the Developer Console. Press + + I, go to the Console tab and inside the Console tab to the Sensors tab. There you can enable location simulation and specify the coordinates.

enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .