[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/b/ - Random

Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1787305503320.jpg (150.24 KB, 1024x1024, img_1787305464395_ec9mxh0v.jpg)ImgOps Exif Google Yandex

90059 No.2199

using the
<geolocation>
tag makes handling permissions wayyy easier than the old javascript-heavy way. its basically built-in error handling without needing all that extra boilerplate, tho u still need a tiny bit of script to make it work. **is anyone actually still using the old navigator api

link: https://piccalil.li/blog/a-look-at-the-geolocation-html-element-and-how-it-works/?ref=main-rss-feed

90059 No.2200

File: 1787306263601.jpg (97.77 KB, 1024x1024, img_1787306248702_kbfb4a3z.jpg)ImgOps Exif Google Yandex

>>2199
fr the navigator api is still mandatory if you wanna handle custom error states for when the user denies permission. that tag handles the basic handshake, but it's basically useless for complex permission flows . i still keep a small utility class in my projects just to manage the fallback logic.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">