forked from extern/the-glorious-startpage
README
This commit is contained in:
parent
1ca7c94480
commit
aeef841570
@ -128,6 +128,8 @@ Setting up your OpenWeatherMap credential is a breeze.
|
|||||||
|
|
||||||
+ If you're using firefox and you're planning to use the `geolocation`, make sure to set the value of `geo.provider.network.url` to `https://location.services.mozilla.com/v1/geolocate?key=test` in `about:config`. **Google changed its policies, so now it requires a valid API key when accessing their geolocation service. This tells us that you need a valid API key in place of** `%GOOGLE_LOCATION_SERVICE_API_KEY%`. - [Citation](https://stackoverflow.com/questions/61032115/unknown-error-acquiring-position-geolocationpositionerror-code-2-firefox-linux).
|
+ If you're using firefox and you're planning to use the `geolocation`, make sure to set the value of `geo.provider.network.url` to `https://location.services.mozilla.com/v1/geolocate?key=test` in `about:config`. **Google changed its policies, so now it requires a valid API key when accessing their geolocation service. This tells us that you need a valid API key in place of** `%GOOGLE_LOCATION_SERVICE_API_KEY%`. - [Citation](https://stackoverflow.com/questions/61032115/unknown-error-acquiring-position-geolocationpositionerror-code-2-firefox-linux).
|
||||||
|
|
||||||
|
+ If you just set the startpage locally, the location permission will always pop-up even if you already accept/denied it. It's better to run it on a web server.
|
||||||
|
|
||||||
#### Changing the default search engine
|
#### Changing the default search engine
|
||||||
|
|
||||||
Google is the default search engine of the search bar, if you want to change it to DuckDuckGo or something:
|
Google is the default search engine of the search bar, if you want to change it to DuckDuckGo or something:
|
||||||
|
@ -15,7 +15,7 @@ class WeatherSettings {
|
|||||||
this._watchPositionID = 0;
|
this._watchPositionID = 0;
|
||||||
|
|
||||||
this._watchGeoOptions = {
|
this._watchGeoOptions = {
|
||||||
enableHighAccuracy: false,
|
enableHighAccuracy: true,
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
maximumAge: 0
|
maximumAge: 0
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user