browser push notification click event javascript code example
Example: javascript click event notifications
var message = new Notification("RandomString");
message.onclick = function(){
alert("Random Message")
};
var message = new Notification("RandomString");
message.onclick = function(){
alert("Random Message")
};