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.
精彩评论