自定义邮件地理位置 [英] Custom message for geolocation

查看:108
本文介绍了自定义邮件地理位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方式,在地理位置脚本要求用户允许或拒绝其位置访问时,我可以显示自定义消息。目前,它会显示一条消息,询问用户想要允许或拒绝访问其位置的天气。而不是它说默认的允许网站访问您的位置我希望能够将其更改为我自己的文本,例如允许位置访问以显示更好的结果。

At the moment it displays a message asking weather the user wants to allow or deny access to their location. Instead of it saying the default "Allow website.com to access your location" I want to be able to change it to my own text such as "Allow location access to display better results".

我会期待您的回复。

推荐答案

这是无法完成的。否则用户可能不知道他们可能会同意的是什么。无法保证自定义消息甚至不需要提及位置。

This cannot be done. Otherwise a user may not know what it is that they might be agreeing to. There is no guarantee a custom message would need to even mention location at all.

这篇关于自定义邮件地理位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆