开发者

Ask permission for Geolocation using notifications API

I am eager to know if I can ask permission for geolocation using the n开发者_StackOverflowotification API(HTML5) and save it in the preferences(chrome) ??


Notification API is for notification only. You can't have any interaction in notification.

The permission asking is done by the browser so there's no way you can skip it, so I don't think it's possible to find any workaround to use notification API for permission asking.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜