HTML5 Geolocation API - BrowserLeaks
文章推薦指數: 80 %
The Geolocation API gives websites access to a high-level interface that allows them to query physical location information such as latitude and longitude, ... BrowserLeaksHomePageIPAddressJavaScriptWebRTCLeakTestCanvasFingerprintWebGLReportFontFingerprintingSSLClientTestGeolocationAPIFeaturesDetectionContentFiltersJavaAppletFlashPlayerSilverlightMoreToolsSettingsJavaScriptDisabled–GeolocationAPIisapartofHTML5andisaccessibleviaJavaScriptTheGeolocationAPIgiveswebsitesaccesstoahigh-levelinterfacethatallowsthemtoqueryphysicallocationinformationsuchaslatitudeandlongitude,therebybreakingtheuser'sanonymity.ThispagewillcheckiftheGeolocationAPIworksinyourbrowser,showallthedatathatcanberetrieved,andensurethatwebsiteswillnotaccesstheAPIwithoutyourexplicitpermission.PermissionsAPIOriginPermissions✔"granted"–youallowbrowserleaks.comtorequestyourlocation?"prompt"–youaskwhenbrowserleaks.comtriestorequestyourlocation×"denied"–youdon'tallowbrowserleaks.comtorequestyourlocationGlobalPermissions✔"granted"–youallowallthird-partywebsitestorequestyourlocation?"prompt"–youaskwhenthird-partywebsitestrytorequestyourlocation×"denied"–youdon'tallowthird-partywebsitestorequestyourlocationGeolocationAPIAPIStatus✔YourbrowsersupportsGeolocationAPI×Yourbrowserdoesn'tsupportGeolocationAPIwatchPositionWatchPositionisnotactive(geolocationisupdatingasitchanges)getCurrentPositionGetCurrentPositionGeolocationDatarawvaluesCacheAgeLatitudeLongitudeAccuracyAltitudeAltitudeAccuracyHeadingSpeedReverseGeocodingLoadingmapshasbeendisabledbyPrivacySettings.ShowMapTheAPIallowswebsitestomake«one-shot»locationqueries(getCurrentPosition)ormultiplepositionupdates(watchPosition)totracktheuser'sheadingandspeed.CommonsourcesoflocationinformationincludeGlobalPositioningSystem(GPS)andlocationinferredfromnetworksignalssuchasIPaddress,RFID,WiFiandBluetoothMACaddresses,andGSM/CDMAcellIDs,aswellasuserinput.Fordeviceswithoutspecialsensors(e.g.,adesktopcomputerwithawiredconnection)HTML5GeolocationwillmatchIPaddresslocation.WhenyouchangetheIPcountryusingVPNorproxy,theGeolocationAPIwillshowyourlocationaccordingtoGeoIP.FurtherReadingUsingtheGeolocationAPI–MDNGeolocationAPISpecificationLeaveaComment(50)AlwaysShowComments
延伸文章資訊
- 1Overview | Geolocation API | Google Developers
The Geolocation API returns a location and accuracy radius based on information about cell towers...
- 2[30apis] Day 2 : Google Map Geolocation API - iT 邦幫忙
關於Geolocation 在實作之前,我大致上知道Google Map 有個定位的API (廢話)但我一直以為它叫做location API。 所以在這邊對Location 跟Geolo...
- 3What is a Geolocation API and how is it used? - PubNub
A Geolocation API is a communication interface between a client device or application (client-sid...
- 4HTML5 Geolocation API - BrowserLeaks
The Geolocation API gives websites access to a high-level interface that allows them to query phy...
- 5ipstack - Free IP Geolocation API
Locate website visitors for free using ipstack - a free, real-time IP address to location JSON AP...