I am getting ready to work with the HTML5 GeoLocation API and I would like to know if it is currently possible to overwrite/style the default browser notification for accepting GeoLocation?
The biggest issue is lack of control over the messaging and how to control what we are telling users about our intent with using their GeoLocation.
It seems pointless to pop-up something on top of the current acceptance options to give the user more detail.
Thanks!
I am getting ready to work with the HTML5 GeoLocation API and I would like to know if it is currently possible to overwrite/style the default browser notification for accepting GeoLocation?
The biggest issue is lack of control over the messaging and how to control what we are telling users about our intent with using their GeoLocation.
It seems pointless to pop-up something on top of the current acceptance options to give the user more detail.
Thanks!
Share Improve this question asked Apr 20, 2011 at 14:41 SethSeth 6,2603 gold badges30 silver badges44 bronze badges3 Answers
Reset to default 4There is no way to customize these messages. All of the notifications are pletely different from user agent to user agent.
Could you not pop up a message before you call navigator.geolocation to give you users more information. That way at least you wouldn't have both messages on screen at once. Something like this: http://jsfiddle/thebeebs/bTWhd/1/
No these are part of the native browser and are intentionally un-editable for security and privacy reasons.
There's going to be no standard way of doing this for all browsers. It would be probably be best to do this with a tooltip if you don't want the user to have to click through multiple messages.