google chrome - Focus Mobile Browser with Javascript -


i need show turn-by-turn navigation on mobile site (a signalr project. chrome). googled it. there not (or not not didn't found usefull something) api this. put tag href="google.location=q.." opens google maps. checked signalr. connection ok if page running background. can send message server client. message received. user cannot show. (because google maps open.:))

can show alert, notification or focus browser (or close googlemaps) javascriptly when browser isn't active?

hub.client.receivemessage = function (from, msj) {                 //alert or provide open browser              }; 

thanks advice.

if i'm understanding correctly, user can't read notification because google maps in way. html5 supports desktop notifications , can displayed above content. https://developer.mozilla.org/en-us/docs/web/api/notification has documentation.


Comments