Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8145185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:35:10+00:00 2026-06-06T13:35:10+00:00

currently my company has webapplications which want to provide services regarding the users current

  • 0

currently my company has webapplications which want to provide services regarding the users current geographical position.

We call the location services this way (standard):

navigator.geolocation.getCurrentPosition( function( position ) {
     var _lat = Math.round( position.coords.latitude * 1000 ) / 1000;
     var _lon = Math.round( position.coords.longitude * 1000 ) / 1000;
     doThis( _lat, _lon ); }, function( error ) {doThat( 0, 0 );} );

When I test my webapplications with different latest-version Browsers and custom settings many Browsers are asking the user too often for the permisson to allow to track his geolocation.
Safari asks every time when navigator.geolocation.getCurrentPosition is called, mobile Safari once in a session, Chrome saves the page instantly in the settings and never prompts the user again, mobile Internet Explorer seems to save the permission 24 hours.
Is there any way to programmatically trick a browser that he behaves like Chrome (save the permission)?
I think it’s a little bit annoying and not very userfriendly when a Browser asks to often for this permission, because the user can turn off location tracking anyway if he doesn’t want to get tracked and we want to provide userfriendly services.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:35:13+00:00Added an answer on June 6, 2026 at 1:35 pm

    No, you can’t. That part is completely in the domain of the browser and its settings. A user may configure his browser to what he needs, a website should not be able to do that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our company has a very large public Java API which is currently being released
Our company currently has a web site which is deployed in Windows 2000 OS,
My company currently has a product which relies on a custom, in-house ActiveX control.
I am currently on a short research project. The company I work at has
Our company currently has seven dedicated SQL Server 2008 servers each running an average
I have a Company which has Projects within them. As time goes on we
Currently I am interning at a software company and one of my tasks has
The problem: My company currently has a query that takes roughly 3 seconds to
My company has a enrollment website that is currently in DotNetNuke. I've been directed
My company has a project for which I proposed using SharePoint Enterprise 2010. We

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.