3.0 Safari Geolocation Permission: Change after Set?

567 views
Skip to first unread message

geocentric

unread,
Jun 18, 2009, 1:27:58 PM6/18/09
to iPhoneWebDev
The new version of safari allows javsacript based access to the GPS
for the first time (yippee!) The test code, which I found online, is
here:

http://m.yourhere.com/test

So first you get a system message ("http://m.yourhere.com" Would Like
To Use Your Current Location" Don't Allow / OK)

My issue is that if you "Don't Allow" once, you never get the chance
to change your mind. I have tried:
1. iPhone Cold Restart
2. Settings: Safari: Delete Cache, Cookies, etc.

The only thing I can find to work is to change the domain itself to a
subdomain of the domain (like website.com vs. www.website.com) which
counts as a new domain for permissions.

Any idea how a user would change/delete safari location permissions
after the initial set? It appears you can't change your mind.

Jim Blakeslee
Geocentric

Jorge Chamorro

unread,
Jun 18, 2009, 2:30:07 PM6/18/09
to iphone...@googlegroups.com
"Location warnings can be reset in General Settings", © Vicki Murley.

My geolocation test page is :-) http://jorgechamorro.com/cljs/062/

BTW, FireFox 3.5b also has the geoLocation API.
http://www.mozilla.com/en-US/firefox/all-beta.html

-- 
Jorge.

Jim Blakeslee

unread,
Jun 18, 2009, 2:58:04 PM6/18/09
to iphone...@googlegroups.com
Thanks for your reply! I tried it but it did not seem to work.

It looks to me that resetting Location Warnings in General Settings is
application by application (Safari vs. installed app) and not web domain
by web domain within Safari?

amario

unread,
Jul 20, 2009, 8:36:39 PM7/20/09
to iPhoneWebDev
I have the exact same question. I was testing geolocation error
handling and said 'no' for my site, now it keeps thinking 'no' even
though I cleared cache etc. Anybody figure this one out?

thanks

Amar

On Jun 18, 11:58 am, Jim Blakeslee <jim.blakes...@geocentric.com>
wrote:
> Thanks for your reply!  I tried it but it did not seem to work.
>
> It looks to me that resetting Location Warnings in General Settings is
> application by application (Safari vs. installed app) and not web domain
> by web domain within Safari?
>
> Jorge Chamorro wrote:
>
> > On 18/06/2009, at 19:27, geocentric wrote:
>
> >> The new version of safari allows javsacript based access to the GPS
> >> for the first time (yippee!)  The test code, which I found online, is
> >> here:
>
> >>http://m.yourhere.com/test
>
> >> So first you get a system message ("http://m.yourhere.com" Would Like
> >> To Use Your Current Location" Don't Allow / OK)
>
> >> My issue is that if you "Don't Allow" once, you never get the chance
> >> to change your mind.  I have tried:
> >> 1. iPhone Cold Restart
> >> 2. Settings: Safari: Delete Cache, Cookies, etc.
>
> >> The only thing I can find to work is to change the domain itself to a
> >> subdomain of the domain (like website.com vs.www.website.com) which
> >> counts as a new domain for permissions.
>
> >> Any idea how a user would change/delete safari location permissions
> >> after the initial set?  It appears you can't change your mind.
>
> > "Location warnings can be reset in General Settings", © Vicki Murley.
>
> > My geolocation test page is :-)http://jorgechamorro.com/cljs/062/

amario

unread,
Jul 20, 2009, 8:37:33 PM7/20/09
to iPhoneWebDev
(Actually, 'reset location warnings' under general settings did the
trick... so nevermind :)

On Jun 18, 11:58 am, Jim Blakeslee <jim.blakes...@geocentric.com>
wrote:
> Thanks for your reply!  I tried it but it did not seem to work.
>
> It looks to me that resetting Location Warnings in General Settings is
> application by application (Safari vs. installed app) and not web domain
> by web domain within Safari?
>
> Jorge Chamorro wrote:
>
> > On 18/06/2009, at 19:27, geocentric wrote:
>
> >> The new version of safari allows javsacript based access to the GPS
> >> for the first time (yippee!)  The test code, which I found online, is
> >> here:
>
> >>http://m.yourhere.com/test
>
> >> So first you get a system message ("http://m.yourhere.com" Would Like
> >> To Use Your Current Location" Don't Allow / OK)
>
> >> My issue is that if you "Don't Allow" once, you never get the chance
> >> to change your mind.  I have tried:
> >> 1. iPhone Cold Restart
> >> 2. Settings: Safari: Delete Cache, Cookies, etc.
>
> >> The only thing I can find to work is to change the domain itself to a
> >> subdomain of the domain (like website.com vs.www.website.com) which
> >> counts as a new domain for permissions.
>
> >> Any idea how a user would change/delete safari location permissions
> >> after the initial set?  It appears you can't change your mind.
>
> > "Location warnings can be reset in General Settings", © Vicki Murley.
>
> > My geolocation test page is :-)http://jorgechamorro.com/cljs/062/

amario

unread,
Jul 23, 2009, 9:18:26 AM7/23/09
to iPhoneWebDev
Anybody figure out how to reset permissions for a domain?

On Jun 18, 11:58 am, Jim Blakeslee <jim.blakes...@geocentric.com>
wrote:
> Thanks for your reply!  I tried it but it did not seem to work.
>
> It looks to me that resetting Location Warnings in General Settings is
> application by application (Safari vs. installed app) and not web domain
> by web domain within Safari?
>
> Jorge Chamorro wrote:
>
> > On 18/06/2009, at 19:27, geocentric wrote:
>
> >> The new version of safari allows javsacript based access to the GPS
> >> for the first time (yippee!)  The test code, which I found online, is
> >> here:
>
> >>http://m.yourhere.com/test
>
> >> So first you get a system message ("http://m.yourhere.com" Would Like
> >> To Use Your Current Location" Don't Allow / OK)
>
> >> My issue is that if you "Don't Allow" once, you never get the chance
> >> to change your mind.  I have tried:
> >> 1. iPhone Cold Restart
> >> 2. Settings: Safari: Delete Cache, Cookies, etc.
>
> >> The only thing I can find to work is to change the domain itself to a
> >> subdomain of the domain (like website.com vs.www.website.com) which
> >> counts as a new domain for permissions.
>
> >> Any idea how a user would change/delete safari location permissions
> >> after the initial set?  It appears you can't change your mind.
>
> > "Location warnings can be reset in General Settings", © Vicki Murley.
>
> > My geolocation test page is :-)http://jorgechamorro.com/cljs/062/
Reply all
Reply to author
Forward
0 new messages