Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I would like Safari on Mac OS X Lion to send correct geo informations to some websites but not to others. Instead sending correct location data I would like it to send either no location data, faked or random coordinates.

Is there something to achieve that? Maybe a Safari extensions or a Glimmer Blocker script?

share|improve this question

1 Answer 1

I believe Safari will do something like this by default (Mac OS X 10.7.3, Safari 5.2).

If you look in the Privacy pane of Safari’s preferences, there’s a panel:

Limit website access to location services:

  • Prompt for each website once each
  • Prompt for each website one time only
  • Deny without prompting

I believe the first option is the default, so when you visit a page that wants geolocation data in the default setting, you get a panel like this:

A screenshot of benwerd.com/lab/geo.php, with a prompt from Safari asking whether the user wants to allow the page to access their location data. This page is a test of the HTML geolocation API.

In the default setting, the page will throw up that prompt every time I reload it (so if I click “Allow”, then refresh the page, I get the same prompt).

If I select the second option from above (“prompt for each website one time only”), then Safari will throw up that panel once, then remember your choice forever.

If you want to learn more, Apple has published two support articles on the topic:

Hope this is useful.


Addendum: I don’t know of any way to have Safari supply fake location data.

share|improve this answer
    
We have come a long way in he last 20 years. back than it was dubious to tell private data on the internet like name and coordinates. now it is suspected, if you take your right of privacy. –  vikingosegundo May 9 '12 at 14:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.