navigator.geolocation
-
On calling navigator.geolocation.watchPosition getting the following error -
POSITION_UNAVAILABLE::Network location provider at 'https://location.vivaldi.com/' : Did not provide a good position fix. -
@ashishpaul said in navigator.geolocation:
navigator.geolocation.watchPosition
Any complete code?
I tested: https://www.tutorialspoint.com/html5/geolocation_watchposition.htm and it works nice.
-
I do not see this working anymore as well. See screenshot. I was able to confirm that the site has location permissions. Same page works fine in safari.
-
@jonesmac Works for me on Windows 10/11 with 5.6.2867.36 Stable.
Vivaldi uses the internal Windows location service.Please check:
- your Windows Privacy Settings if access to Location is allowed.
- Vivaldi address field if allowed/blocked location access
Please, where have you tested the location, need URL to test?
-
I tested the link above in the previous post - https://www.tutorialspoint.com/html5/geolocation_watchposition.htm
I’m on a Mac so maybe it’s a platform- specific issue. I verified that my user preferences have Vivaldi allowed to access location data.
-
@jonesmac said in navigator.geolocation:
I’m on a Mac
Ah, ok, i was wondering why my Windows works.
I verified that my user preferences have Vivaldi allowed to access location data.
And is it allowed for the web site you visit? Click on lock in address field and click on "Site Settings".
If that did not help, does https://help.vivaldi.com/desktop/privacy/geolocation/ section MacOS help you to enable Location Services n MacOS? Or https://forum.vivaldi.net/post/618315
-
Thanks for pointing this out to me. I see in the article:
“Currently, on Windows we use Windows’ geolocation service, but on macOS and Linux geolocation has been disabled. This is not a situation we are happy with, and we are trying hard to find a solution.”
As for the macOS tab, that doesn’t really relate to the Vivaldi issue. It just tells me how to get my location from another app.
Thanks again for the help. I’ll just have to wait till Vivaldi enables this for Mac
-
Hi, I started moving from Opera to Vivaldi these days. I want to give it a try.
But I'm having exactly the same problem.
I'm on Windows 10, and geolocation works fine in both Opera and Chrome, but not in Vivaldi.
This is an essential feature for meAfter requesting geolocation a few times, it even stops responding.
Any chance of opening a ticket with this bug?
-
@Crandel
Hi, Chrome have it´s own geolocation, no idea about Opera.
Do you have an example where it not work?
Nobody else report this since 7 month.Please test this in a private window and/or the guest view, this except extensions and use the default settings.
https://help.vivaldi.com/article/guest-view/
Add your Vivaldi and OS version, please.
Cheers, mib
-
Browser geolocation will never work in Vivaldi. Or at least not before someone offers a privacy-friendly and free alternative to the Google/Mozilla location API.
Please read:
https://help.vivaldi.com/desktop/privacy/geolocation/https://vivaldi.com/blog/geolocation-privacy/
Basically, in Windows you can enable your OS' geolocation and get Vivaldi to use that data using flag mentioned in the article.
I have no idea if it works - never tested, and I have zero interest in enabling my OS geolocation anyway. But best of luck figuring it out
By the way, in the latest Snapshot builds, there is a feature allowing you to set your geolocation manually - basically you can trick sites to think you're located on the South Pole for instance. Fun to play with at least
-
@ApolloTheLabby @Pathduck
Hi, it does work in Vivaldi 6.1.3035.100, Windows 11.I have to enable Geolocation in the Windows settings and allow Apps to use it.
Cheers, mib
-
@mib2berlin I guess the "WinRT Geolocation Implementation" flag is Enabled by default now, so no need to set it explicitly?
And yes, it uses the OS geolocation API.
Which is not "browser geolocation" like I said, it gets the data from your OS.Chrome ++ uses the Google geolocation API - which obviously sends your position to Google.
Windows + Edge uses the Microsoft geolocation API - which obviously sends your position to Microsoft.But hey, pick yer poison
-
@Pathduck @ApolloTheLabby
Yep, I over read "Enable OS Geolocation".
Haha, your car assistance system sends your data to Ford or Tesla, it make no sense to use a service like this without Geolocation.
If you don´t trust Microsoft don´t use it.Cheers, mib
-
@mib2berlin True - but MS makes a decent OS. That doesn't mean I want to send geolocation data to them.
For me though, it's mostly about "I don't really care".
I disable stuff I don't care about. It's a tower PC - it don't go anywhere so why should it use geolocation? I'm not paranoid, I'm not, I'm not I'm not paranoid! -
PPathduck marked this topic as a regular topic on
-
@mib2berlin Here is screeshot of the output
The same in private window;
@Pathduck said in navigator.geolocation:
OS' geolocation
I understand that geolocation is a privacy issue. But there are times when it is very important. In our company that develops occupational safety software, it is important that the jobs are geolocated, an inspector is on site when carrying out the inspection, that the operator who presses the emergency button tells me exactly where he is and not in Singapore.
-
@Crandel
Hi, I don´t understand your post, if you enable Geolocation in Windows it work in Vivaldi.
I test this in Windows 11 but I will start my VM with Windows 10 to check it there.Cheers, mib
-
@mib2berlin You're right, sorry. It has to be activated in Windows for it to work. Seems like more correct behavior