Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am developing asp.net website that uses Geo location to track users location. As the code is executed, a browser asks user permission to share location or not share. The option chosen by user is stored in Tool menu, under page info tab/permission/Access Your location in mozilla firefox browser. How can I read the option chosen by user from this tab and set option using c# ???? Any help!!!
Anyway thanks in advance.
Posted
Comments
Kornfeld Eliyahu Peter 23-Jun-14 5:32am    
You can't
Codes DeCodes 23-Jun-14 5:38am    
is there a privacy issue that mozilla is not willing to share with???
Kornfeld Eliyahu Peter 23-Jun-14 5:58am    
Not exactly. It's just not part of your web page...
You web page is hosted inside the browser, but has no access to the browser itself (as has no access to the OS). The geolocation preferences used by the browser to decide when to pass info to the page and when not...
Codes DeCodes 23-Jun-14 6:13am    
anyway thanks..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900