Location spoofing on Firefox
Go to about:config
.
Search for geo
.
Check that geo.enabled
is set true
.
Toggle geo.provider.ms-windows-location
to false
.
Change geo.provider.network.url
to the format of data:application/json,{"location": {"lat": 0.0, "lng": 0.0}, "accuracy": 27000.0}
. The description of the attributes is given by ChatGPT as follows:
lat
: This attribute represents the latitude of your location, which is a measure of how far north or south you are from the equator. Latitude values range from -90.0 (South Pole) to +90.0 (North Pole).
lng
: This attribute represents the longitude of your location, which is a measure of how far east or west you are from the Prime Meridian (which passes through Greenwich, London). Longitude values range from -180.0 (West) to +180.0 (East).
accuracy
: This attribute represents the accuracy or precision of the geolocation data in meters. It indicates how certain or uncertain the reported location is.