Firefox 3.5 can tell websites where you’re located so you can find info that’s more relevant and more useful.Firefox 3.5 includes a simple JavaScript API that allows you to quickly geo-enable your web application. It allows users to optionally share their location with websites without having to type in a postal code.The new feature is sure to raise privacy concerns, but Mozilla says the feature is deactivated by default and if a user does not want to share location information, the browser will simply return an error message to a website requesting that information.
This location sharing could greatly speed local search. While location was added via the Geode addon, this latest version provides an out of the box location ability that aims to provide critical mass so that web developers are compelled to add location intelligence to their sites.Geolocation is implemented in Firefox 3.5 using a simple JavaScript API. The functionality allows users to easily share their location with a site that requires it.
Websites using this feature make a simple JavaScript call to getCurrentPosition, which gets the user’s current location and then notifies him with an alert dialog as the process isn't automated for obvious privacy issues. First, the user can deny or not respond to the request for location information. The API allows you to set an optional error callback. If the user explicitly cancels the request your error callback will be called with an error code. In the case where the user doesn’t respond, no callback will be fired.
When you visit a location-aware website, Firefox will ask you if you want to share your location.If you consent, Firefox gathers information about nearby wireless access points and your computer’s IP address. Then Firefox sends this information to the default geolocation service provider, Google Location Services, to get an estimate of your location. That location estimate is then shared with the requesting website.
Bookmarks