ghostery / user-agent-desktop

Ghostery Desktop Browser
Mozilla Public License 2.0
125 stars 18 forks source link

Customize Geolocation #187

Open remusao opened 4 years ago

remusao commented 4 years ago

modules/libpref/init/all.js (prefs starting with geo.) https://github.com/ghostery/user-agent-desktop/blob/8f59bd745702f7c76f97bc3d67472577824ac644/modules/libpref/init/all.js#L4040 https://github.com/ghostery/user-agent-desktop/blob/8f59bd745702f7c76f97bc3d67472577824ac644/modules/libpref/init/all.js#L4058 https://github.com/ghostery/user-agent-desktop/blob/8f59bd745702f7c76f97bc3d67472577824ac644/modules/libpref/init/all.js#L4067

chrmod commented 4 years ago

Geolocation may be a tricky thing. I remember Cliqz had some issues with loosing access to Mozilla Locaiton Services. We have to check if it is fine to used the same keys or we should maybe get new ones.

chrmod commented 4 years ago

As observed on MacOS and Windows, it is operating system that provided geolocation data. As we are pending for response from MLS lets push this issue for next milestone.

sammacbeth commented 3 years ago

Location services currently hit location.services.mozilla.com/v1/country?key=no-mozilla-api-key on browser startup. The location service url can be changes via the browser.region.network.url pref. (cc #198)