Optimization of JS script HTML Geolocation API
Information requires confirmation from the user.When opening a page in the browser on the PC automatically appears a pop with the request http://prntscr.com/11lhd44 If Allow the script shows width and length.All is OK here.He works in Rome, Opera, FF.When you open a page on your Android OS phone in the Chrome browser:
1) if the GPS service is enabled, the corresponding popup with request will appear.If Allow, the script shows width and length.All is OK here.2) if the GPS service is excluded, the pop with request will not appear.But after clicking on the button that runs onclick="getLocation(), a flashing window from the Android OS appears with a request to enable the GPS service, and after enable, a request from the browser appears.Further than usual if Allow the script shows width and length.NOTE: optimize the script in such a way that the Android OS when GPS is excluded automatically asks for the GPS service to be enabled, rather than by the button.
Applications 1
Client's review of cooperation with Andrii Trushevsky
Optimization of JS script HTML Geolocation APIThe task is accomplished. Everything is great.
Freelancer's review of cooperation with Valerii N
Optimization of JS script HTML Geolocation APII'm satisfied with the collaboration with Valery, the clear setting of the task saved me from unnecessary attempts to fight the imperfection of the world (in the form of browsers' behavior) - only within the framework of the task, so to say). There are no problems with payments.
-
Welcome to!
Let’s discuss more in detail.
Please contact me, I will be happy to cooperate.
-
Winning proposal1 day8 USD
729 21 2 1 Winning proposal1 day8 USDI can solve this problem. You may have to remove an error message with the instructions. For example, if the user has previously banned access to the geolocation.
Current freelance projects in the category Javascript and Typescript
Full-stack development — Amazon PPC Dashboard (Stage 1)Need a full-stack developer with experience working with Amazon API to implement Stage 1 of the internal PPC dashboard. The project is real, the data is live, everything is ready to start. Frontend prototype (5 pages, React + TypeScript): WHAT IS ALREADY READY — Frontend… Javascript and Typescript, Web Programming ∙ 1 day 19 hours back ∙ 27 proposals |
Development of a photo book and photo frame constructor websiteProject Goal A modern website needs to be developed for ordering photo books, photo frames, and other personalized photo products. The main task of the project is to provide the client with the ability to independently create a ready-made layout of the product directly on the… Javascript and Typescript, Web Programming ∙ 3 days 11 hours back ∙ 96 proposals |
Team for a custom marketplace of funeral services.We are looking for a team to launch and develop a custom national marketplace for funeral services. Right away: we are not looking for solo freelancers, juniors, or "website builders." We need a strong product team at the middle+/senior level with real cases in… Javascript and Typescript, Web Programming ∙ 4 days 5 hours back ∙ 27 proposals |
Improvement of the existing Next.js/Supabase project: offers, CRM, analytics, AI chatThere is an active project WatchGenius — a luxury watch analytics platform with a catalog of models, price analytics, external offers, application forms, and an AI chat. The project has already been partially developed. We need not a website from scratch, but an experienced… Javascript and Typescript, Web Programming ∙ 6 days 7 hours back ∙ 55 proposals |
I am looking for a Senior Full-Stack Developer (Payload CMS) — migration of 2 websites for a hotel chain.The resort hotel network is transitioning from Webflow to its own headless stack. Two corporate websites (~140 pages in total), multi-tenant architecture — one code serves multiple hotels on different domains. The project has already started: the infrastructure is deployed,… Content Management Systems, Javascript and Typescript ∙ 10 days 5 hours back ∙ 19 proposals |